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

Exiting the "Create your first Pipeline" flow to go to Classic produces a 404

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Environment:
    • Similar Issues:
    • Epic Link:
    • Sprint:
      Blue Ocean 1.3, Blue Ocean - Candidates

      Description

      Summary:
      After setting up a new remote repository for the first time, when that repo has no Jenkinsfile in it, the user is taken to the "You don't have any branches that contain a Jenkinsfile" message, and given the option to Create a Pipeline. Once in the editor, if the user changes his or her mind and clicks the "Go to classic" button, a 404 will appear.

      Frequency of occurrence:
      100%

      Steps to recreate:
      1. Successfully connect to a remote Git repo which has n Jenkinsfile in it. I was doing this to verify the fix (still not merged) for JENKINS-46885. The remote repo looks like this:

      ubuntu@ip-172-18-40-84:~/git-server/repos/sandbox-for-jenkinsfiles$ ls -al
      total 16
      drwxrwxr-x 3 ubuntu ubuntu 4096 Sep 19 18:37 .
      drwxr-xr-x 7 ubuntu ubuntu 4096 Sep 19 14:52 ..
      drwxrwxr-x 8 ubuntu ubuntu 4096 Sep 19 19:33 .git
      -rw-rw-r-- 1 ubuntu ubuntu   65 Sep 19 18:37 README.md
      ubuntu@ip-172-18-40-84:~/git-server/repos/sandbox-for-jenkinsfiles$ git status
      On branch master
      nothing to commit, working directory clean
      ubuntu@ip-172-18-40-84:~/git-server/repos/sandbox-for-jenkinsfiles$ 
      

      2. Click "Create Pipeline" to go to the Editor.

      3. Once inside the editor, without doing anything else, click the "Go to Classic" button:

      4. A 404 page is shown. We were trying to get to http://172.18.40.95:8080/job/pipeline-editor:

        Attachments

          Activity

          kshultz Karl Shultz created issue -
          jamesdumay James Dumay made changes -
          Field Original Value New Value
          Sprint Blue Ocean 1.3 [ 386 ] Blue Ocean 1.3, Blue Ocean 1.4 - beta 1 [ 386, 401 ]
          jamesdumay James Dumay made changes -
          Epic Link JENKINS-36588 [ 172614 ]
          kshultz Karl Shultz made changes -
          Labels testing-notes
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.3, Blue Ocean 1.4 - beta 1 [ 386, 401 ] Blue Ocean 1.3, Blue Ocean 1.4 - beta 2 [ 386, 416 ]
          jamesdumay James Dumay made changes -
          Rank Ranked higher
          kshultz Karl Shultz made changes -
          Labels testing-notes testing-notes-reviewed
          jamesdumay James Dumay made changes -
          Sprint Blue Ocean 1.3, Blue Ocean 1.4 - beta 3 [ 386, 416 ] Blue Ocean 1.3, Blue Ocean 1.4 - beta 4 [ 386, 441 ]
          kshultz Karl Shultz made changes -
          Labels testing-notes-reviewed cb-triaged testing-notes-reviewed

            People

            • Assignee:
              kzantow Keith Zantow
              Reporter:
              kshultz Karl Shultz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: