Notify after PR 2 #13
|
|
@ -80,7 +80,8 @@ pipeline {
|
|||
"""
|
||||
echo "PR ${prId} merged successfully into master!"
|
||||
def context = "test-org/trust-module-frontend/pipeline/pr-${env.CHANGE_TARGET}"
|
||||
notify(context, GITEA_USER, GITEA_PASS, env.GITEA_REPOSITORY_URL, "trust-module-frontend", env.GIT_COMMIT, "success")
|
||||
def commitHash = sh(script: "git rev-parse HEAD", returnStdout: true).trim()
|
||||
notify(context, GITEA_USER, GITEA_PASS, env.GITEA_REPOSITORY_URL, "trust-module-frontend", commitHash, "success")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue