Fixed checkout pipeline error.
This commit is contained in:
parent
04996cc087
commit
3dd0b4cd0f
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -13,7 +13,7 @@ pipeline {
|
|||||||
branch '**/delta'
|
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']]])
|
sh 'git checkout master'
|
||||||
sh 'git merge --strategy-option theirs origin/delta'
|
sh 'git merge --strategy-option theirs origin/delta'
|
||||||
sshagent(['359ebf7c-e2b9-45ec-992c-ff8d5549deb6']) {
|
sshagent(['359ebf7c-e2b9-45ec-992c-ff8d5549deb6']) {
|
||||||
sh 'git push origin master'
|
sh 'git push origin master'
|
||||||
|
Loading…
Reference in New Issue
Block a user