123as2123
test-org/test-ci-cd/pipeline/pr-main This commit looks good Details

pull/24/head 0.0.3
yuobrezkov 2025-04-09 18:01:39 +03:00
parent f9e5139f58
commit f667ac9357
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -100,7 +100,7 @@ pipeline {
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() def newCommitHash = sh(script: "git rev-parse HEAD", returnStdout: true).trim()
echo "COMMIT_HASH ${commitHash}" echo "COMMIT_HASH ${commitHash}"
echo "NEW_COMMIT_HASH ${newCommitHash}" echo "NEW_COMMIT_HASH ${newCommitHash} "
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" \