Compare commits

..

No commits in common. "6e8e590ec97dc97d28fe0e67e604bec952a76dfc" and "99bccca3e6b201c8b21bd090216a415a9c382ec9" have entirely different histories.

1 changed files with 1 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -97,10 +97,8 @@ 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
""" """
echo "PR ${prId} merged successfully into main!" echo "PR ${prId} merged successfully into main!"
sleep(time: 5, unit: 'SECONDS')
def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim() def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim()
def prCommitHash = sh(script: "git rev-parse HEAD", returnStdout: true).trim() def prCommitHash = sh(script: "git rev-parse HEAD", returnStdout: true).trim()
sh """ sh """
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \ curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \