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

conflict between poolscm trigger and repository re-index

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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):

       

       

        Attachments

          Activity

          raphael_unique Raphaël UNIQUE created issue -
          raphael_unique Raphaël UNIQUE made changes -
          Field Original Value New Value
          Description 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.

          !image-2018-05-16-11-36-24-001.png|width=504,height=119!

          i have done a commit in the trunk

          !image-2018-05-16-11-37-40-355.png|width=533,height=404!

           

          but the next execution of the re-indexing detect a change, but trigger a build of all branches and trunk:
          {code:java}
          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{code}
          +*a build (29) is triggered for the trunk (not necessary):*+

          !image-2018-05-16-11-46-37-793.png!

          !image-2018-05-16-11-48-56-424.png|width=405,height=161!

           

           
          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.

          !image-2018-05-16-11-36-24-001.png|width=504,height=119!

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

          !image-2018-05-16-11-37-40-355.png|width=533,height=404!

           

          but the next execution of the re-indexing detect a change, but trigger a build of all branches and trunk:
          {code:java}
          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{code}
          +*a build (29) is triggered for the trunk (not necessary):*+

          !image-2018-05-16-11-46-37-793.png!

          !image-2018-05-16-11-48-56-424.png|width=405,height=161!

           

           
          miraha jang hyemi (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          vivek Vivek Pandey made changes -
          Labels multibranch multibranch triaged-2018-11

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            raphael_unique Raphaël UNIQUE
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: