conflict between poolscm trigger and repository re-index

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      hi,

      Ā 

      we try to use:

      • re-index option on the workflow multibranch project to detect new branches (delay 1 day)
      • poolscm trigger in the jenkinsfiles to trigger build 15 min after commit (svn)

      Ā 

      but there is a conflict:

      if i commit code in a branch, the corresponding job is triggered correctly.

      i have done a commit in the trunk (rev 4149):

      Ā 

      but the next execution of the re-indexing detect a change, but trigger a build of all branches and trunk:

      DƩmarrƩ par l'utilisateur Raphaƫl Unique
      [mer. mai 16 11:41:19 CEST 2018] Starting branch indexing...
      Opening conection to https://svn.xxxx
      Checking directory /fr.agrostar.posteprepa@HEAD
      Checking directory /fr.agrostar.posteprepa/branches@HEAD
      ...
      Checking candidate branch /fr.agrostar.posteprepa/trunk@HEAD
      ā€˜Jenkinsfile’ found
      Met criteria
      Changes detected: trunk (4148 → 4149)
      Scheduled build for branch: trunk
      [mer. mai 16 11:41:22 CEST 2018] Finished branch indexing. Indexing took 2,7 s
      Finished: SUCCESS

      a build (29) is triggered for the trunk (not necessary):

      Ā 

      Ā 

        1. image-2018-05-16-11-21-50-866.png
          93 kB
          Raphaƫl UNIQUE
        2. image-2018-05-16-11-26-51-102.png
          36 kB
          Raphaƫl UNIQUE
        3. image-2018-05-16-11-36-24-001.png
          16 kB
          Raphaƫl UNIQUE
        4. image-2018-05-16-11-37-40-355.png
          49 kB
          Raphaƫl UNIQUE
        5. image-2018-05-16-11-46-37-793.png
          17 kB
          Raphaƫl UNIQUE
        6. image-2018-05-16-11-48-56-424.png
          29 kB
          Raphaƫl UNIQUE

            Assignee:
            Unassigned
            Reporter:
            Raphaƫl UNIQUE
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: