changed main to master
test-org/configurator/pipeline/pr-master There was a failure building this commit
Details
test-org/configurator/pipeline/pr-master There was a failure building this commit
Details
parent
c1649864bc
commit
96143d9a55
|
|
@ -96,9 +96,9 @@ pipeline {
|
||||||
http://git.entcor/api/v1/repos/deployer3000/${env.IMAGE_NAME}/pulls/${prId}/merge
|
http://git.entcor/api/v1/repos/deployer3000/${env.IMAGE_NAME}/pulls/${prId}/merge
|
||||||
"""
|
"""
|
||||||
def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim() // необходим для корректного отображения статусов
|
def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim() // необходим для корректного отображения статусов
|
||||||
echo "PR ${prId} merged successfully into main!"
|
echo "PR ${prId} merged successfully into master!"
|
||||||
sleep(time: 15, unit: 'SECONDS')
|
sleep(time: 15, unit: 'SECONDS')
|
||||||
sh "git checkout main && git pull origin main"
|
sh "git checkout master && git pull origin master"
|
||||||
|
|
||||||
sh """
|
sh """
|
||||||
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \
|
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue