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

Open
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@anton-johansson
Copy link

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

This comment has been minimized.

Copy link
Author

anton-johansson commented Mar 6, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.