elvanja / jenkins-gitlab-hook-plugin

Enables Gitlab web hooks to be used to trigger SMC polling on Gitlab projects
142 stars 81 forks source link

Skip a build job #55

Closed stefanjauker closed 9 years ago

stefanjauker commented 9 years ago

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

elvanja commented 9 years ago

Hi @stefanjauker, sure, you just need to open job configuration and set "skip notifyCommit" option in Git section. The job will always be skipped.

christophpickl commented 9 years ago

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.