Adding in ability to check status of automatic branch jobs in jenkins
The current documentation for integrating Jenkins and Gitlab EE indicates that the Gitlab Hook Plugin should be used. When you use that plugin you can set up Jenkins to automatically create new jobs for the branches used in merge requests. The CI Status check for Jenkins does not currently handle those automatic jobs. The result of this is shows an error checking the status on all Merge Requests. This merge request is a small change to the jenkins_service to utilize the ref param being passed in and appending the branch name if not master to the project url which will allow the status checks to succeed.
Merge request reports
Activity
@sytses I will review it this week
Reassigned to @dzaporozhets
you can set up Jenkins to automatically create new jobs for the branches used in merge requests.
@chrisrohr how your patch will work if I don't setup it?
@dzaporozhets It would act exactly as it does today prior to this patch. The build status would state that it was unable to connect to the CI server. This patch will just make it work if you have set it up.
@chrisrohr ok thanks!
mentioned in commit 2178647a
mentioned in issue #30 (closed)
mentioned in issue #30 (closed)
mentioned in issue #30 (closed)
mentioned in merge request !27 (merged)
mentioned in commit 086bf47e
mentioned in commit 9dd93813
Mentioned in commit 2178647a
Mentioned in commit 086bf47e