Skip a build job
stefanjauker opened this issue · comments
Hello guys,
I have 2 build jobs for the same repository.
The first build job is triggered by a gitlab webhook. It works as expected.
The 2nd is a nightly build and should not started by the webhook.
Is there a possibility to skip/ignore a job?
Thanks for your help
Stefan
Hi @stefanjauker, sure, you just need to open job configuration and set "skip notifyCommit" option in Git section. The job will always be skipped.
to be precisly, its an additional behaviour called Don't trigger a build on commit notifications
. it works, although this setting is provided by Jenkins GIT Plugin, rather from this GitLab Hook Plugin.