Details
-
Type:
Improvement
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: gitlab-hook-plugin
-
Labels:
-
Similar Issues:
Description
In our Jenkins we have different jobs for the same project.
For example we have a job for continuous integration that must be triggered after each push and we have a job triggered one per day and do a Sonar analyse.
But when we activate the hook on a project all jobs in Jenkins that use the corresponding git url is triggered on push.
It is possible to add an option in Jenkins to mark a build as not to be triggered by hook ?
Thanks
You can do this via the git configuration. Add the "Don't trigger a build on commit notification" item to the Git configuration (this is assuming a recent version of the Git plugin). I use this all the time.