I currently have GitHub connected to Jenkins and for every pull request, GitHub triggers a Jenkins job which seems to work fine. I am extending this to trigger multiple jobs, let's say on a new pull request, I have multiple JenkinsFiles which are basically running different configurations.
All the jobs are triggered correctly, but the status reported back to github is overwritten. For 1 PR I will trigger:
Job1
Job2
Job3
But I get only the status of Job3:
continuous-integration/jenkins/pr-merge
continuous-integration/jenkins/branch
I would like to see something like:
continuous-integration/jenkins/job1
continuous-integration/jenkins/job2
continuous-integration/jenkins/job3
I have already tried to set a custom commit context on the JenkinsFile of each job, but it doesnt seem to be working. Any suggestions how to solve it ?
Thank you