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

Add possibility to force build with added MR label(s) #903

Conversation

anton-johansson
Copy link
Contributor

@anton-johansson anton-johansson commented Mar 6, 2019

With this functionality (together with #901), I can perform logic using GitLab MR labels. For example, I can have a label titled "Auto-deploy", which I could use to automatically deploy my branch to my Kubernetes cluster.

This PR makes sure I can add the label "Auto-deploy" without having the GitLab Plugin block the webhook due to the fact that the Git SHA has already been built once.

PR #901 makes sure I can actually access the labels in the Jenkins pipeline, using environment variables.

@anton-johansson
Copy link
Contributor Author

The check is currently case-sensitive. Should it be?

@markjacksonfishing markjacksonfishing merged commit 4cecd03 into jenkinsci:master Nov 18, 2019
ababushk added a commit to ababushk/gitlab-plugin that referenced this pull request Dec 2, 2019
This is to not to interfere with changes introduced by jenkinsci#903
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants