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
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -4,19 +4,20 @@ pipeline {
|
|||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
label '本地'
|
label '本地'
|
||||||
docker {
|
|
||||||
args '''
|
|
||||||
-v "${WORKSPACE}":/data/project
|
|
||||||
--entrypoint=""
|
|
||||||
'''
|
|
||||||
image 'jetbrains/qodana-go'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Qodana') {
|
stage('Qodana代码分析') {
|
||||||
steps {
|
steps {
|
||||||
|
script {
|
||||||
|
docker.image(jetbrains/qodana-go).run('''
|
||||||
|
--v "${WORKSPACE}":/data/project
|
||||||
|
--entrypoint=""
|
||||||
|
''') {
|
||||||
sh '''qodana'''
|
sh '''qodana'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user