patch: waterfall
All checks were successful
Personal/PersonalMain-Golang/pipeline/head This commit looks good

This commit is contained in:
筱锋xiao_lfeng 2024-01-31 15:02:47 +08:00
parent f41c2934c4
commit ebff4d629b
No known key found for this signature in database
GPG Key ID: F693AA12AABBFA87

25
Jenkinsfile vendored
View File

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