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

Unable to create new Pipeline in an empty Bitbucket repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Blue Ocean 1.3

      Summary:
      With Blue Ocean 1.3-beta 1, I am unable to create a Pipeline in a Bitbucket repo which doesn't already contain one.

      Steps to recreate:
      1. Start with a Bitbucket repo which does not contain a Jenkinsfile. Mine looks like this:

      2. Launch Blue Ocean, and create a new Pipeline. Select your Bitbucket server (mine was already set up):

      3. Choose the project that contains the empty repo, select the empty repo, click Create Pipeline:

      4. As expected, you'll be told that there are no Jenkinsfiles in empty-empty-empty.

      5. Click the newly-created "Create Pipeline" button. You'll be taken to the next screen, which is where the failure occurs. You'll get a popup stating "Error loading Pipeline."

      6. The only option is to click "Go Back," or you can click outside the boundary of that popup. With either approach, you'll end up back at the beginning of the Pipeline Creation flow:

      7. Repeat steps 1 through 4. When you get to the final click of the flow, you'll be told that there's a naming conflict, because empty-empty-empty already exists. You'll have to choose a new name.

      8. This loop repeats itself as many times as you want. It is also creating the jobs in Jenkins, but you can only see them from Classic.

      9. As a sanity check, I made sure the credentials to my BB server "worked," insofar as I could scan the multibranch pipeline from Classic. This works:

        1. 172.30.0.13.har
          464 kB
          Karl Shultz
        2. 172.30.0.13-bbc.har
          360 kB
          Karl Shultz
        3. image-2017-09-07-10-45-23-874.png
          390 kB
          Karl Shultz
        4. image-2017-09-07-10-49-22-069.png
          318 kB
          Karl Shultz
        5. image-2017-09-07-10-50-23-664.png
          291 kB
          Karl Shultz
        6. image-2017-09-07-10-51-34-829.png
          294 kB
          Karl Shultz
        7. image-2017-09-07-10-53-03-678.png
          307 kB
          Karl Shultz
        8. image-2017-09-07-10-54-07-485.png
          289 kB
          Karl Shultz
        9. image-2017-09-07-10-55-24-436.png
          303 kB
          Karl Shultz
        10. image-2017-09-07-11-00-19-173.png
          437 kB
          Karl Shultz
        11. image-2017-09-07-11-01-30-778.png
          896 kB
          Karl Shultz
        12. image-2017-09-07-11-13-43-247.png
          528 kB
          Karl Shultz
        13. screenshot-1.png
          262 kB
          Karl Shultz
        14. screenshot-2.png
          298 kB
          Karl Shultz
        15. screenshot-3.png
          418 kB
          Karl Shultz

            cliffmeyers Cliff Meyers
            kshultz Karl Shultz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: