Notify after PR 2
test-org/trust-module-frontend/pipeline/pr-main Build succeeded

pull/13/head 1.0.5
yuobrezkov 2025-03-10 17:20:13 +03:00
parent bda6197120
commit 101ce14197
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -80,7 +80,8 @@ 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}"
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")
} }
} }
} }