Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove source branch with "Accept merge request on success" #181

Closed
sebastienbonami opened this issue Jan 15, 2016 · 3 comments
Closed

Remove source branch with "Accept merge request on success" #181

sebastienbonami opened this issue Jan 15, 2016 · 3 comments

Comments

@sebastienbonami
Copy link
Contributor

Hi, it would be nice to have the option to remove source branch automatically when the functionality "Accept merge request on success" is used in a Jenkins job.

Thanks!

@omorillo omorillo self-assigned this May 24, 2016
@omorillo
Copy link
Contributor

I'm on it.

@omorillo
Copy link
Contributor

omorillo commented May 29, 2016

My implementation for this issue is now ready.

Unfortunately, I observed a bug in the GitLab API implementation which results in the source branch always to be removed when using the "Accept merge request on success" feature, no matter whether the "should_remove_source_branch" flag was enabled or not. I could observe this behaviour in GitLab CE version 8.7.3 and 8.7.6.

Creating an issue on the GitLab bug tracker (https://gitlab.com/gitlab-org/gitlab-ce/issues/17992).

As the feature can not properly work at the moment, the changeset will not be added to the master yet. A pull request will be put in place which will be merged to master, once the issue on GitLab site is fixed.

@sebastienbonami
Copy link
Contributor Author

Well... this feature is now present on GitLab's side so I don't need this anymore.

exceed-alae pushed a commit to exceed-alae/gitlab-plugin that referenced this issue May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants