test[ci skip]
This commit is contained in:
parent
224986faf2
commit
f48e0bbc1e
|
@ -125,9 +125,7 @@ pipeline {
|
||||||
agent{label 'master'}
|
agent{label 'master'}
|
||||||
when {
|
when {
|
||||||
changeRequest()
|
changeRequest()
|
||||||
not {
|
|
||||||
changelog '.*\\[ci skip\\].*'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
script{
|
script{
|
||||||
|
@ -161,7 +159,8 @@ pipeline {
|
||||||
|
|
||||||
script{
|
script{
|
||||||
env.skipstage=sh(script:"cd ${WORKSPACE}.tes && git --no-pager diff --name-only FETCH_HEAD ${env.CHANGE_TARGET}|grep -v -E '.*md|//src//connector|Jenkinsfile|test-all.sh' || echo 0 ",returnStdout:true)
|
env.skipstage=sh(script:"cd ${WORKSPACE}.tes && git --no-pager diff --name-only FETCH_HEAD ${env.CHANGE_TARGET}|grep -v -E '.*md|//src//connector|Jenkinsfile|test-all.sh' || echo 0 ",returnStdout:true)
|
||||||
|
env.skipbuild=sh(script: "git log -1 --pretty=%B | fgrep -ie '[skip ci]' -e '[ci skip]'", returnStatus: true)
|
||||||
|
println env.skipbuild
|
||||||
}
|
}
|
||||||
println env.skipstage
|
println env.skipstage
|
||||||
sh'''
|
sh'''
|
||||||
|
@ -176,10 +175,9 @@ pipeline {
|
||||||
changeRequest()
|
changeRequest()
|
||||||
expression {
|
expression {
|
||||||
env.skipstage != 0
|
env.skipstage != 0
|
||||||
|
env.skipbuild ==1
|
||||||
}
|
}
|
||||||
not {
|
|
||||||
changelog '.*\\[ci skip\\].*'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
parallel {
|
parallel {
|
||||||
stage('python_1_s1') {
|
stage('python_1_s1') {
|
||||||
|
|
Loading…
Reference in New Issue