[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Hezi Zisman commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline What is the recommenations for those who use webhooks and branch indexing? We expirencing allot of duplicated builds... Disabling branch indexing will cause new branches not to get indexed and built Disabling webhooks will break a build per push bond we need... Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Justin Vallon commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline So, got it working. On (enterprise) github, installed the "Jenkins (git plugin)" integration service which started calling the git-hook. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Justin Vallon commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline Jesse Glick: I am trying to get github/repoA/Jenkinsfile to use github/repoB. The sample code that you provided works (polling, on a schedule). Is it possible to get it to work on-push for rebuild of repoA when repoB is pushed? When I use pollSCM("# on push"), nothing happens (either on push or at any later point). I am guessing that the $Jenkins/github-webhook is not triggering the immediate pollSCM? If I use githubPush() trigger, it double-triggers the main-repo (sometimes the builds are coalesced, sometimes not if concurrent builds are allowed); but I think this ticket implies that the githubPush() trigger should not be used in org/repo/branch jobs. Alternately, I suppose I could add upstream-downstream relationships, but I have been trying to keep the triggers based on SCM vs jobs. Note though that my Jenkins is at 2.60.1, and GitHub Branch Source 2.0.7 (a few months old), so maybe I should try upgrading, but it is probably my expectation that is wrong (user error, not a bug). Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Jesse Glick commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline amend WorkflowJob.poll to ignore polling on any SCM which came from a branch project I think this is really the correct behavior, rather than disabling polling altogether. The poll method gets a log handle so it can print a message about why it is ignoring polling on this SCM. What I am not sure about is how to implement this. SCMVar just gets to pass back an SCM, of some plugin-provided type, and SCMStep does not have any particular way of knowing where it came from. You can easily find the SCMRevisionAction indicating that a branch source was active on this build, but the old API SCMListener.onCheckout just gets a SCMRevisionState, which is what is stored for future use from WorkflowJob.poll, and there is no API for correlating an SCMRevisionState with an SCMRevision: these capture essentially similar information but they are not interconvertible. Perhaps scm-api could be amended so that SCMRevision could check whether it was the same as a given SCMRevisionState. Unfortunately even with such an API, there is no way the git plugin will soon support this, until JENKINS-19022 is implemented so that it actually uses SCMRevisionState as the API mandates. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Jesse Glick commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline Note that TimerTrigger (cron symbol) is occasionally desirable and unproblematic. For example, someone wants their master branch built every night, even if there are no recorded commits. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Patrick Wolf commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline Disabling polling from properties means that it cannot be used in job configuration if any other properties are set. https://issues.jenkins-ci.org/browse/JENKINS-41146 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Patrick Wolf updated an issue Jenkins / JENKINS-41074 UX Issue with Polling in Multibranch Pipeline Change By: Patrick Wolf There is general confusing about how polling behaves in multibranch pipeline. Polling will continue to trigger the same revision over and over again because mutlibranch is pinned to the revision found in computation. For now we should disable the trigger in {{properties}} step of a multibranch pipeline. The recommendation for users not using webhooks would be to configure the "Periodically if not otherwise run" but this will add more api calls. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Jesse Glick commented on JENKINS-41074 Re: UX Issue with Polling in Multibranch Pipeline As a step towards JENKINS-32018, we could rather permit SCMTrigger but amend WorkflowJob.poll to ignore polling on any SCM which came from a branch project (i.e., scm argument to checkout rather than something else). Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Patrick Wolf updated an issue Jenkins / JENKINS-41074 UX Issue with Polling in Multibranch Pipeline Change By: Patrick Wolf SCM Polling should not be enabled in Multibranch Pipeline. There is general confusing about how polling behaves in multibranch pipeline. Polling will continue to trigger the same revision over and over again because mutlibranch is pinned to the revision found in computation. For now we should disable the trigger in {{properties}} step of a multibranch pipeline. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-41074) UX Issue with Polling in Multibranch Pipeline
Title: Message Title Patrick Wolf created an issue Jenkins / JENKINS-41074 UX Issue with Polling in Multibranch Pipeline Issue Type: Bug Assignee: Unassigned Components: workflow-multibranch-plugin Created: 2017/Jan/13 5:02 PM Priority: Minor Reporter: Patrick Wolf SCM Polling should not be enabled in Multibranch Pipeline. There is general confusing about how polling behaves in multibranch pipeline. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)