diff --git a/Jenkinsfile b/Jenkinsfile index c6e1324..02716bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,7 @@ def notify( -u "${giteaUser}:${giteaPass}" \ -H "Content-Type: application/json" \ -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!" def context = "test-org/trust-module-frontend/pipeline/pr-${env.CHANGE_TARGET}" 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") } }