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 13:55:55 +08:00
parent a4f0f020ce
commit d09f4a2eda
No known key found for this signature in database
GPG Key ID: F693AA12AABBFA87

37
Jenkinsfile vendored
View File

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