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:36:45 +08:00
parent 04e53f3740
commit e8e6da39c0
No known key found for this signature in database
GPG Key ID: F693AA12AABBFA87

17
Jenkinsfile vendored
View File

@ -4,19 +4,20 @@ pipeline {
} }
agent { agent {
label '本地' label '本地'
docker {
args '''
-v "${WORKSPACE}":/data/project
--entrypoint=""
'''
image 'jetbrains/qodana-go'
}
} }
stages { stages {
stage('Qodana') { stage('Qodana代码分析') {
steps { steps {
script {
docker.image(jetbrains/qodana-go).run('''
--v "${WORKSPACE}":/data/project
--entrypoint=""
''') {
sh '''qodana''' sh '''qodana'''
} }
} }
} }
}
}
} }