Compare commits
3 Commits
b7e5941500
...
a8ca18edc9
| Author | SHA1 | Date |
|---|---|---|
|
|
a8ca18edc9 | |
|
|
448ea7a5a6 | |
|
|
5ef440384d |
|
|
@ -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}${repositoryName}/statuses/${commitHash}
|
${repositoryUrl}deployer3000/${repositoryName}/statuses/${commitHash}
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,7 +81,6 @@ 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