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

git polling/web hooks will not start concurrent builds

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core, git-plugin

      I need a web hook to be able to kick off concurrent builds. Whereas right now if a commit comes in to a job that is already building that commit will just be ignored and will never be built even if concurrent builds is turned on.

      In addition to web hooks not working when a job is already running. Polling will not even be attempted if a job is currently running. Which makes since for most builds, but not for builds with concurrent builds enabled.

          [JENKINS-26887] git polling/web hooks will not start concurrent builds

          Jeremiah Norris created issue -
          Jeremiah Norris made changes -
          Description Original: The main issue I'm trying to solve is I need a web hook to be able to kick off concurrent builds. Whereas right now if a commit comes in to a job that is already building that commit will just be ignored and will never be built.

          Essentially the why the current git activities work are a little unintuitive since they depend on a local git repository to be sitting in the workspace from a previous build.

          Instead when a new job is created that has a git repository listed in SCM a local repository should be immediately pulled to be used from polling and webhooks that is completely independant of the job workspace.

          There are probably more elegant or lightweight solutions to this issue to be explored. I want to see how much interest there is in this subject and if there is anyone more experienced who wants to contribute that would be great, but my team is in dire need of this so I will look into coding if no one else has value for a solution.
          New: The main issue I'm trying to solve is I need a web hook to be able to kick off concurrent builds. Whereas right now if a commit comes in to a job that is already building that commit will just be ignored and will never be built.

          Essentially the way the current git activities work are a little unintuitive since they depend on a local git repository to be sitting in the workspace from a previous build.

          Instead when a new job is created that has a git repository listed in SCM a local repository should be immediately pulled to be used for polling and web hooks that is completely independant of the job workspace.

          There are probably more elegant or lightweight solutions to this issue to be explored. I want to see how much interest there is in this subject and if there is anyone more experienced who wants to contribute that would be great, but my team is in dire need of this so I will look into coding it if no one else has value for a solution.
          Jeremiah Norris made changes -
          Link New: This issue is related to JENKINS-7423 [ JENKINS-7423 ]
          Jeremiah Norris made changes -
          Description Original: The main issue I'm trying to solve is I need a web hook to be able to kick off concurrent builds. Whereas right now if a commit comes in to a job that is already building that commit will just be ignored and will never be built.

          Essentially the way the current git activities work are a little unintuitive since they depend on a local git repository to be sitting in the workspace from a previous build.

          Instead when a new job is created that has a git repository listed in SCM a local repository should be immediately pulled to be used for polling and web hooks that is completely independant of the job workspace.

          There are probably more elegant or lightweight solutions to this issue to be explored. I want to see how much interest there is in this subject and if there is anyone more experienced who wants to contribute that would be great, but my team is in dire need of this so I will look into coding it if no one else has value for a solution.
          New: I need a web hook to be able to kick off concurrent builds. Whereas right now if a commit comes in to a job that is already building that commit will just be ignored and will never be built even if concurrent builds is turned on.

          In addition to web hooks not working when a job is already running. Polling will not even be attempted if a job is currently running. Which makes since for most builds, but not for builds with concurrent builds enabled.
          Summary Original: git polling/web hooks need to occur in a separate "polling workspace" New: git polling/web hooks will not start concurrent builds
          Jeremiah Norris made changes -
          Issue Type Original: Improvement [ 4 ] New: Bug [ 1 ]
          Mark Waite made changes -
          Component/s Original: git-parameter-plugin [ 16113 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161065 ] New: JNJira + In-Review [ 180563 ]
          Lior Goikhburg made changes -
          Link New: This issue blocks JENKINS-47136 [ JENKINS-47136 ]
          Lior Goikhburg made changes -
          Attachment New: config.xml [ 39879 ]
          Mark Waite made changes -
          Assignee Original: Niklaus Giger [ niklaus_giger ]

            Unassigned Unassigned
            jjno91 Jeremiah Norris
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: