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

24 lines
524 B
Go

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