Compare commits
No commits in common. "a89a5f3d28cd94a864d347a0478569a3bdd37ef4" and "5e8ed330f89b9c3c876f8cd9faf09564b4e2fc39" have entirely different histories.
a89a5f3d28
...
5e8ed330f8
|
|
@ -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} "
|
ecoh "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" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue