[JIRA] (JENKINS-61020) Allow custom context for commit status

9 views
Skip to first unread message

redeamer@gmx.net (JIRA)

unread,
Feb 7, 2020, 5:42:03 PM2/7/20
to jenkinsc...@googlegroups.com
Michael Musenbrock created an issue
 
Jenkins / Improvement JENKINS-61020
Allow custom context for commit status
Issue Type: Improvement Improvement
Assignee: Parichay Barpanda
Components: gitlab-branch-source-plugin
Created: 2020-02-07 22:41
Labels: pipeline multi-branch gitlab
Priority: Major Major
Reporter: Michael Musenbrock

Currently it is only possible to have a single job using the gitlab-branch-source-plugin for a repository due to the fact, that the context of the status updates is always 'jenkinsci/(branch|mr-head|mr-merge|tag)'.
I see the reason in an ideal world, to have one job per project, but in real-life I stumbled to often over exactly that issue (previously on github projects).

We have currently two use-cases for multiple jobs per repo.

  • First: Large project which has troubles with flaky UI-Tests. So UI-Tests are done in a separate Job to see clearly, that at least the build, code analysis, and the deployment works fine, regardless of the flakiness of the tests. So it would be great to have a 'jenkinsci/ui/branch' and a 'jenkinsci/build-and-deploy/branch' context.
  • Second: A project which consists of different modules in one repo, where every module has it's own multibranch-pipeline. Here a 'jenkinsci/server/branch' and a 'jenkinsci/client/branch' would be of use.
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

redeamer@gmx.net (JIRA)

unread,
Feb 7, 2020, 5:55:03 PM2/7/20
to jenkinsc...@googlegroups.com
Michael Musenbrock commented on Improvement JENKINS-61020
 
Re: Allow custom context for commit status

A proposal is added as a PR: https://github.com/jenkinsci/gitlab-branch-source-plugin/pull/75 I would be really happy about any feedback and maybe some hints for a proper name of the feature.

2bluesc@gmail.com (JIRA)

unread,
Feb 10, 2020, 1:50:02 PM2/10/20
to jenkinsc...@googlegroups.com

Interested in this as well.  Provided an example of how I use it and how it worked for Bitbucket on the GitHub PR.

parichay.barpanda@gmail.com (JIRA)

unread,
Apr 4, 2020, 6:10:18 AM4/4/20
to jenkinsc...@googlegroups.com
Parichay Barpanda started work on Improvement JENKINS-61020
 
Change By: Parichay Barpanda
Status: Open In Progress
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

parichay.barpanda@gmail.com (JIRA)

unread,
Apr 25, 2020, 1:02:05 PM4/25/20
to jenkinsc...@googlegroups.com
Change By: Parichay Barpanda
Status: In Review Resolved
Resolution: Fixed

parichay.barpanda@gmail.com (JIRA)

unread,
Apr 25, 2020, 1:02:05 PM4/25/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages