changed main to master
test-org/configurator/pipeline/pr-master There was a failure building this commit Details

rc
yuobrezkov 2025-04-10 11:42:15 +03:00
parent c1649864bc
commit 96143d9a55
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -96,9 +96,9 @@ pipeline {
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() // необходим для корректного отображения статусов
echo "PR ${prId} merged successfully into main!"
echo "PR ${prId} merged successfully into master!"
sleep(time: 15, unit: 'SECONDS')
sh "git checkout main && git pull origin main"
sh "git checkout master && git pull origin master"
sh """
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \