I had asked previously about getting two jobs triggered from GitHub when a PR is opened. Each job uses a distinct Jenkinsfile. This is so multiple sets of tests can be triggered as separate jobs when a PR is opened. That thread can be found here:
https://groups.google.com/forum/#!topic/jenkinsci-users/RXZykkWy8PQ . I was able to get it set up, but the behavior isn't exactly what I want. I have looked all over for how to fix this :(
However, it appears that the GitHub Organization configuration for each job must be different for me to achieve having two jobs appear on GitHub that are linked to Jenkins. The configuration of the GitHub Organization that runs the first job is attached as 'jenkins1_config.png'. This is set up using the
GitHub Branch Source Plugin.
The fields that are in play here are the following. For both jobs, I want the following configuration:
* Discover Branches
Strategy: Exclude Branches that are also filed as PRs
* Discover Pull Requests from Origin
Strategy: The current pull request revision
In order for the second organization's job to appear in GitHub, I have to change these two options. If the configuration is the same, it doesn't even show up, and only the first job shows up on GitHub. How can I get the same behavior for each GitHub Organization on Jenkins so that it appears on GitHub?
One thing I have noticed is that it seems like it is not possible to change the names of these jobs on a per-GitHub organization basis, and that this is only configurable via global Jenkins configuration. Attached is the configuration for the GitHub Pull Request Builder that we have set up for that Jenkins instance as 'ghprb_configuration.png'.
Please let me know if I need to provide more information. Thanks!