indigo-dc / jenkins-pipeline-library

Jenkins pipeline library with common functionalities for CI/CD environments, mainly targeted for the implementation of the SQA baseline requirements from https://indigo-dc.github.io/sqa-baseline/
Apache License 2.0
11 stars 6 forks source link

jenkins branches: update github commit build status #155

Open samuelbernardolip opened 3 years ago

samuelbernardolip commented 3 years ago

I found a possible solution to update github commit build status from jenkins to the branch we want, bypassing the problem of us being using jenkins/* to trigger the builds and loosing build status in original branch.

We can use post build task for that and then call github api to update the status: https://plugins.jenkins.io/postbuild-task/