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

GitHub does not account Jenkins builds from jenkins/* branches #114

Open orviz opened 3 years ago

orviz commented 3 years ago

The build status (in a PR) does not show the result of the Jenkins build, triggered as part of the GitHub workflow.

The reason seems to be that the source branch (e.g. fix/foo) in the PR is not the same as the one from the Jenkins job (e.g. jenkins/fix/foo).

orviz commented 3 years ago

Let's do (some sort) the Gentoo way, so our bot will:

  1. Add a comment in PR with the status of the jenkins/fix/foo Jenkins
  2. Add a positive review if successful (in the repo settings we need to add a positive review from the bot as a req for approval)