Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15961

Add "ignore Push notification" option

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      With git plugin, when we request Push notification url from git post-receive hooks, all jobs are notified. That's great!

      But, in some cases (e.g. nightly builds like integration testing, Sonar, etc.), we may want to ignore this notification, even if there are new commits.

      The simpliest would be to add a "Ignore Push notification" checkbox for this special case.

        Attachments

          Issue Links

            Activity

            Hide
            turb Sylvain Veyrié added a comment -

            Note: workaround is to start the build each night instead of polling the repo, but in this case we start it even nothing is new.

            Show
            turb Sylvain Veyrié added a comment - Note: workaround is to start the build each night instead of polling the repo, but in this case we start it even nothing is new.
            Hide
            docwhat Christian Höltje added a comment -

            Here are some alternatives to adding an "ignore Push notification" option:

            • Add a "Build Trigger" that if selected will let a build be kicked off by the git plugin on a push notification. (This is the inverse of the above, which I think is more obvious). Without this "Build Trigger" then the push will be ignored.
            • Only kick off a build if the polling is more frequent than a certain threshold (such as 30 minutes).
            Show
            docwhat Christian Höltje added a comment - Here are some alternatives to adding an "ignore Push notification" option: Add a "Build Trigger" that if selected will let a build be kicked off by the git plugin on a push notification. (This is the inverse of the above, which I think is more obvious). Without this "Build Trigger" then the push will be ignored. Only kick off a build if the polling is more frequent than a certain threshold (such as 30 minutes).
            Hide
            kutzi kutzi added a comment -

            See JENKINS-6846 for the core-side fix. So this still needs to be implemented on the git side.

            Show
            kutzi kutzi added a comment - See JENKINS-6846 for the core-side fix. So this still needs to be implemented on the git side.
            Hide
            ddumbugie Kihyun Yun added a comment -

            I've found an option which is named "Don't trigger a build on commit notifications". This option can be added via "Additional Behaviours".

            Is this option what you want?

            Show
            ddumbugie Kihyun Yun added a comment - I've found an option which is named "Don't trigger a build on commit notifications". This option can be added via "Additional Behaviours". Is this option what you want?
            Hide
            markewaite Mark Waite added a comment -

            After almost a year without response to the question "does the existing option meet your need", I'm closing this as resolved. Ignore commit notification is available as a check box.

            Show
            markewaite Mark Waite added a comment - After almost a year without response to the question "does the existing option meet your need", I'm closing this as resolved. Ignore commit notification is available as a check box.

              People

              Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              turb Sylvain Veyrié
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: