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 { pipeline {
environment { environment {
QODANA_TOKEN=credentials('qodana-token') QODANA_TOKEN=credentials('qodana-token')
} }
node(本地) { agent {
println "使用本地辅助节点" label '本地'
agent { docker {
docker { args '''
args ''' -v "${WORKSPACE}":/data/project
-v "${WORKSPACE}":/data/project --entrypoint=""
--entrypoint="" '''
''' image 'jetbrains/qodana-go'
image 'jetbrains/qodana-go' }
} }
} stages {
stages { stage('Qodana') {
stage('Qodana') { steps {
steps { sh '''qodana'''
sh '''qodana''' }
} }
} }
}
}
} }