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

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

    XMLWordPrintable

Details

    • 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

            dsudduth Derek Sudduth added a comment -

            stephenconnolly, 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

            dsudduth Derek Sudduth added a comment - stephenconnolly , 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
            aurimasnav Aurimas Navardauskas added a comment - dsudduth I think it is released as 6.7 -  https://plugins.jenkins.io/cloudbees-folder
            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.

            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.

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

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

            stephenconnolly - 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

            dsudduth Derek Sudduth added a comment - stephenconnolly - 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

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

              Dates

                Created:
                Updated:
                Resolved: