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

Git repositories (git plugin 1.1.15) used within Jenkins multiple SCMs plugin (0.2) are not detected by the remote-trigger hook functionality

    Details

      Description

      Just tried to do remote-triggering of some jobs to see whether we can make use of post-receive hooks in our git repositories to trigger our build jobs.
      However, jenkins did only recognize jobs where git plugin was 'directly' used without using the multiple SCMs plugin.


      Any jobs using git plugin within a multiple scms configuration are not found:
      Using "curl '<jenkins url>/git/notifyCommit?url=<repository url>'" we just get (for repositories which are only used within multiple SCMs plugin):
      No git jobs using repository: <repository url>


      For repositories which are used as well with the stand-alone git plugin we get:
      "Scheduled polling of <repository name>"
      However any job where <repository name> is used in multiple SCMs config is missing here as well.

      Hope it's not too complicated to fix this issue...

        Activity

        macdrega Joerg Schwaerzler created issue -
        Hide
        tfnico tfnico added a comment -

        We ran smack into the same problem yesterday.

        To make matters a bit more desperate, reverting to normal polling leads to changes being detected on every poll, so the build is running over and over again.

        Show
        tfnico tfnico added a comment - We ran smack into the same problem yesterday. To make matters a bit more desperate, reverting to normal polling leads to changes being detected on every poll, so the build is running over and over again.
        Hide
        liya Liya Katz added a comment -

        It seems to be a limitation of the MultiSCM plugin - see https://wiki.jenkins-ci.org/display/JENKINS/Multiple+SCMs+Plugin

        Show
        liya Liya Katz added a comment - It seems to be a limitation of the MultiSCM plugin - see https://wiki.jenkins-ci.org/display/JENKINS/Multiple+SCMs+Plugin

          People

          • Assignee:
            ndeloof Nicolas De Loof
            Reporter:
            macdrega Joerg Schwaerzler
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: