Removed setup stage and now only run queue stage on delta branch.
This commit is contained in:
parent
ed23d5190e
commit
04996cc087
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,13 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('setup') {
|
|
||||||
steps {
|
|
||||||
sh 'git checkout delta'
|
|
||||||
sh 'git reset --hard origin/delta'
|
|
||||||
sh 'git clean -fd'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage('startup and shutdown check') {
|
stage('startup and shutdown check') {
|
||||||
steps {
|
steps {
|
||||||
sh './testrun.sh'
|
sh './testrun.sh'
|
||||||
@ -16,6 +9,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('queue') {
|
stage('queue') {
|
||||||
|
when {
|
||||||
|
branch '**/delta'
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: '359ebf7c-e2b9-45ec-992c-ff8d5549deb6', url: 'git@dev.sys.reslate.xyz:ydeng/rsemcs.git']]])
|
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: '359ebf7c-e2b9-45ec-992c-ff8d5549deb6', url: 'git@dev.sys.reslate.xyz:ydeng/rsemcs.git']]])
|
||||||
sh 'git merge --strategy-option theirs origin/delta'
|
sh 'git merge --strategy-option theirs origin/delta'
|
||||||
|
Loading…
Reference in New Issue
Block a user