patch: waterfall
All checks were successful
Personal/PersonalMain-Golang/pipeline/head This commit looks good
All checks were successful
Personal/PersonalMain-Golang/pipeline/head This commit looks good
This commit is contained in:
parent
f41c2934c4
commit
ebff4d629b
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@ -3,21 +3,18 @@ pipeline {
|
|||||||
QODANA_TOKEN=credentials('qodana-token')
|
QODANA_TOKEN=credentials('qodana-token')
|
||||||
}
|
}
|
||||||
agent {
|
agent {
|
||||||
label '本地'
|
docker {
|
||||||
}
|
args '''
|
||||||
|
|
||||||
stages {
|
|
||||||
stage('Qodana代码分析') {
|
|
||||||
steps {
|
|
||||||
script {
|
|
||||||
docker.image('jetbrains/qodana-go').run('''
|
|
||||||
-v "${WORKSPACE}":/data/project
|
-v "${WORKSPACE}":/data/project
|
||||||
-w /data/project
|
--entrypoint=""
|
||||||
-entrypoint ""
|
'''
|
||||||
''') {
|
image 'jetbrains/qodana-go'
|
||||||
sh 'qodana'
|
}
|
||||||
}
|
}
|
||||||
}
|
stages {
|
||||||
|
stage('Qodana') {
|
||||||
|
steps {
|
||||||
|
sh '''qodana'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user