Compare commits
3 Commits
5e8ed330f8
...
a89a5f3d28
| Author | SHA1 | Date |
|---|---|---|
|
|
a89a5f3d28 | |
|
|
f667ac9357 | |
|
|
f9e5139f58 |
|
|
@ -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}"
|
||||||
ecoh "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" \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue