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

"Periodically if not otherwise run" interval does not trigger index scan

    Details

    • Similar Issues:
    • Released As:
      6.7

      Description

      I have set up a multibranch pipeline with Bitbucket Cloud repository.
      I am running jenkins locally, so I am not using webhooks.

      I've set "Periodically if not otherwise run" interval to 2 minutes, but repository is not being scanned for changes. Scanning can only be triggered manualy by "Scan Multibranch pipeline now".

      I've tried to set this up from blue ocean, then from old UI and no luck in both.
      Also using regular Git branch source instead of Bitbucket doesn't work.

      So I guess the problem is with multibranch pipeline itself.

        Attachments

          Issue Links

            Activity

            Hide
            dsudduth Derek Sudduth added a comment -

            Stephen Connolly, I noticed this was marked as resolved. There are no comments regarding the fix or release. Do you know when we can expect to pick up the new plugin version? And what that version will be?

            Thanks in advance!

            Derek

            Show
            dsudduth Derek Sudduth added a comment - Stephen Connolly , I noticed this was marked as resolved . There are no comments regarding the fix or release. Do you know when we can expect to pick up the new plugin version? And what that version will be? Thanks in advance! Derek
            Hide
            aurimasnav Aurimas Navardauskas added a comment -
            Show
            aurimasnav Aurimas Navardauskas added a comment - Derek Sudduth I think it is released as 6.7 -  https://plugins.jenkins.io/cloudbees-folder
            Hide
            dsudduth Derek Sudduth added a comment -

            Thanks Aurimas, looks like it's the subdirectories (child jobs) that still exhibit the issue. That's what I'm experiencing after reading Stephen's comments further.

            Show
            dsudduth Derek Sudduth added a comment - Thanks Aurimas, looks like it's the subdirectories (child jobs) that still exhibit the issue. That's what I'm experiencing after reading Stephen's comments further.
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Subfolders have their own period of scanning that is not the period of the parent

            Show
            stephenconnolly Stephen Connolly added a comment - Subfolders have their own period of scanning that is not the period of the parent
            Hide
            dsudduth Derek Sudduth added a comment -

            Stephen Connolly - You're correct. There are settings generated for each repo where a Jenkinsfile is detected. However, there is an issue with permissions when dynamically generating jobs. The settings are viewable, but permissions are denied. Separate issue, I know. But, it does make it challenging to modify the scan interval.

            Looks like more of a global issue outside the scope of this plugin. It is also seen in the Github plugin.

            https://stackoverflow.com/questions/48654556/jenkins-how-to-set-the-periodic-scan-interval-of-jobs-under-github-organization

            Show
            dsudduth Derek Sudduth added a comment - Stephen Connolly - You're correct. There are settings generated for each repo where a Jenkinsfile is detected. However, there is an issue with permissions when dynamically generating jobs. The settings are viewable, but permissions are denied. Separate issue, I know. But, it does make it challenging to modify the scan interval. Looks like more of a global issue outside the scope of this plugin. It is also seen in the Github plugin. https://stackoverflow.com/questions/48654556/jenkins-how-to-set-the-periodic-scan-interval-of-jobs-under-github-organization

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                wojciechrak Wojciech Rak
              • Votes:
                9 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: