Compare commits
No commits in common. "a8ca18edc9febbfcaa1a4a78e0de7d2c28e1256d" and "b7e59415007c737188449f0bee6451622696e496" have entirely different histories.
a8ca18edc9
...
b7e5941500
|
|
@ -15,7 +15,7 @@ def notify(
|
||||||
-u "${giteaUser}:${giteaPass}" \
|
-u "${giteaUser}:${giteaPass}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"context":"${context}","state": "${status}", "description": "${description}"}' \
|
-d '{"context":"${context}","state": "${status}", "description": "${description}"}' \
|
||||||
${repositoryUrl}deployer3000/${repositoryName}/statuses/${commitHash}
|
${repositoryUrl}${repositoryName}/statuses/${commitHash}
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,6 +81,7 @@ pipeline {
|
||||||
echo "PR ${prId} merged successfully into master!"
|
echo "PR ${prId} merged successfully into master!"
|
||||||
def context = "test-org/trust-module-frontend/pipeline/pr-${env.CHANGE_TARGET}"
|
def context = "test-org/trust-module-frontend/pipeline/pr-${env.CHANGE_TARGET}"
|
||||||
def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim()
|
def commitHash = sh(script: "git rev-parse HEAD~1", returnStdout: true).trim()
|
||||||
|
echo "commit hash = ${commitHash}"
|
||||||
notify(context, GITEA_USER, GITEA_PASS, env.GITEA_REPOSITORY_URL, "trust-module-frontend", commitHash, "success")
|
notify(context, GITEA_USER, GITEA_PASS, env.GITEA_REPOSITORY_URL, "trust-module-frontend", commitHash, "success")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue