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

Mulitbranch pipeline failed to find JenkinsFile in a subfolder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • Jenkins 2.89.3
      Bitbucket Branch Source Plugin 2.2.9

      I'm using a Multibranch pipeline with Branch Sources setup for Bitbucket.

      Since migrating from Bitbucket Branch Source Plugin 2.2.8 to 2.2.9, if the script path for the Jenkinsfile is in a subfolder ( for example : _ci/Jenkinsfile.groovy) the file is no more found when scanning multibranch pipeline.

      Here output of Scan multibranch pipeline log

      2.2.9

      Checking branch pipelinesTest from APPS/myProject '_ci/Jenkinsfile.groovy' not found Skipped

      2.2.8

      Checking branch pipelinesTest from APPS/myProject '_ci/Jenkinsfile.groovy' found Met criteria

      I tested just reverting the Bitbucket Branch Source Plugin from 2.2.9 to 2.2.8 and it solves the issue.

       

            Unassigned Unassigned
            merlindam Damien Merlin
            Votes:
            13 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: