PersonalMain-Golang/Jenkinsfile

24 lines
524 B
Go
Raw Normal View History

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