patch: waterfall
Some checks failed
Personal/PersonalMain-Golang/pipeline/head There was a failure building this commit
Some checks failed
Personal/PersonalMain-Golang/pipeline/head There was a failure building this commit
This commit is contained in:
parent
a4f0f020ce
commit
d09f4a2eda
37
Jenkinsfile
vendored
37
Jenkinsfile
vendored
@ -1,21 +1,24 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
environment {
|
environment {
|
||||||
QODANA_TOKEN=credentials('qodana-token')
|
QODANA_TOKEN=credentials('qodana-token')
|
||||||
}
|
}
|
||||||
agent {
|
node(本地) {
|
||||||
docker {
|
println "使用本地辅助节点"
|
||||||
args '''
|
agent {
|
||||||
-v "${WORKSPACE}":/data/project
|
docker {
|
||||||
--entrypoint=""
|
args '''
|
||||||
'''
|
-v "${WORKSPACE}":/data/project
|
||||||
image 'jetbrains/qodana-go'
|
--entrypoint=""
|
||||||
}
|
'''
|
||||||
}
|
image 'jetbrains/qodana-go'
|
||||||
stages {
|
}
|
||||||
stage('Qodana') {
|
}
|
||||||
steps {
|
stages {
|
||||||
sh '''qodana'''
|
stage('Qodana') {
|
||||||
}
|
steps {
|
||||||
}
|
sh '''qodana'''
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user