patch: waterfall
Some checks failed
Personal/PersonalMain-Golang/pipeline/head There was a failure building this commit

This commit is contained in:
筱锋xiao_lfeng 2024-01-31 14:05:58 +08:00
parent d09f4a2eda
commit 04e53f3740
No known key found for this signature in database
GPG Key ID: F693AA12AABBFA87

38
Jenkinsfile vendored
View File

@ -1,24 +1,22 @@
pipeline {
environment {
environment {
QODANA_TOKEN=credentials('qodana-token')
}
node(本地) {
println "使用本地辅助节点"
agent {
docker {
args '''
-v "${WORKSPACE}":/data/project
--entrypoint=""
'''
image 'jetbrains/qodana-go'
}
}
stages {
stage('Qodana') {
steps {
sh '''qodana'''
}
}
}
}
agent {
label '本地'
docker {
args '''
-v "${WORKSPACE}":/data/project
--entrypoint=""
'''
image 'jetbrains/qodana-go'
}
}
stages {
stage('Qodana') {
steps {
sh '''qodana'''
}
}
}
}