Hacker News new | ask | show | jobs
by jeena 2527 days ago
Basically what we need is functionality which makes it possible to do:

- there is a canonical git repo for a component

- a dev doesn't have write access to it

- they fork it into their own private user name space

- they change it and create a merge request for the canonical git repo for one of the branches

- the merge request creates (or triggers) a job in Jenkins => this is where our research showed that only the unmaintained gitlab-branch-source-plugin plugin can do that https://github.com/Argelbargel/gitlab-branch-source-plugin

- Jenkins builds it and reports the status back to GitLab

- If it created a new job that job is removed after the MR gets merged.

It would be nice if, like the other plugin does it one could have it's own job for this MR with it's own history but I guess we could live also with a shared history if you could have the MR buld history in GitLab only.

update: I forgot to write that we use Jenkinsfile based pipelines, not sure if this is important.

2 comments

I've created https://gitlab.com/gitlab-org/gitlab-ce/issues/64995 - please join us in the conversation there.
Thanks for the super clear description! Doing some internal research on this.