PersonalMain-Golang/Jenkinsfile
XiaoLFeng f41c2934c4
Some checks failed
Personal/PersonalMain-Golang/pipeline/head There was a failure building this commit
patch: waterfall
2024-01-31 14:50:02 +08:00

25 lines
543 B
Go

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