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

41
Jenkinsfile vendored
View File

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