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

Bitbucket Branch Source Plugin version 2.4.0 doesn't find changes in repositories (reindex is not performed on interval)

XMLWordPrintable

      I installed latest Jenkins (2.150.1) with latest plugins (including Bitbucket Branch Source Plugin 2.4.0).

      I defined my Bitbucket project to be scanned.

      Initial scan is performed, all repositories are found, latest commit per branch per repository is found).

      Later I commited a change to one of the branches. The plugin is supposed to find change and if Jenkins file exist kickstart a pipeline. It doesn't.

       

      I added the following pipeline to reindex the branches per repository for my Bitbucket Branch Source job.

      it is executing on a one minute interval and  temporary solving the plugin malfunction.

      node

      { Jenkins.instance.items .find \{ it.name == 'My_bitbucket_branch_source_job' }

      .items
      .each

      { echo 'in the loop' echo it.name it.indexing.run() }

      }

       

        

            Unassigned Unassigned
            eliakimc Eliakim Cohen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: