Fixed checkout pipeline error.

This commit is contained in:
Harrison Deng 2022-01-20 03:19:52 -06:00
parent 04996cc087
commit 3dd0b4cd0f

2
Jenkinsfile vendored
View File

@ -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'