asdasdasdasd

pull/23/head
yuobrezkov 2025-04-09 17:54:51 +03:00
parent c0650bb74e
commit a9f122677e
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -97,7 +97,8 @@ pipeline {
http://git.entcor/api/v1/repos/deployer3000/${env.IMAGE_NAME}/pulls/${prId}/merge
"""
echo "PR ${prId} merged successfully into main!"
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 newCommitHash = sh(script: "git rev-parse HEAD", returnStdout: true).trim()
sh """
curl -v -X POST -u "${GITEA_USER}:${GITEA_PASS}" \
-H "Content-Type: application/json" \