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
04e53f3740
commit
e8e6da39c0
41
Jenkinsfile
vendored
41
Jenkinsfile
vendored
@ -1,22 +1,23 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
environment {
|
environment {
|
||||||
QODANA_TOKEN=credentials('qodana-token')
|
QODANA_TOKEN=credentials('qodana-token')
|
||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
label '本地'
|
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 {
|
--entrypoint=""
|
||||||
stage('Qodana') {
|
''') {
|
||||||
steps {
|
sh '''qodana'''
|
||||||
sh '''qodana'''
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user