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

Unable to delete unconfigured multibranch pipeline

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Issue: No delete option is available for Multibranch Pipeline project that do not have a indexed branch.

      Reproduce:
      1. Create a new Multibranch Pipeline.
      2. Save empty configuration
      3. Go to new Multibranch Pipeline status page.

      1. Create a new Multibranch Pipeline.
      2. Select a git repository that does not have a Jenkinsfile in any branches.
      3. Go to new Multibranch Pipeline status page.

      Expectation: Always have the option to delete a Multibranch Pipeline project.

        Attachments

          Issue Links

            Activity

            Hide
            jglick Jesse Glick added a comment -

            Also the Edit View link is present, but a 404.

            Show
            jglick Jesse Glick added a comment - Also the Edit View link is present, but a 404.
            Hide
            jglick Jesse Glick added a comment -

            Not quite sure where the problem lies, but probably a regression from JENKINS-31381: the welcome view is either missing some require sidepanel include, or some existing sidepanel include is misbehaving.

            Show
            jglick Jesse Glick added a comment - Not quite sure where the problem lies, but probably a regression from JENKINS-31381 : the welcome view is either missing some require sidepanel include, or some existing sidepanel include is misbehaving.
            Hide
            jglick Jesse Glick added a comment -

            Workaround is to append delete to the multibranch project page and confirm—basically browse to the URL the sidepanel would have linked to.

            Show
            jglick Jesse Glick added a comment - Workaround is to append delete to the multibranch project page and confirm—basically browse to the URL the sidepanel would have linked to.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/jenkins/branch/BaseEmptyView.java
            src/test/java/jenkins/branch/OrganizationFolderTest.java
            http://jenkins-ci.org/commit/branch-api-plugin/59526c1d160d1712098ca5128dbdb268a4b02f8e
            Log:
            [FIXED JENKINS-32782] Empty view was not considered equal to itself, so did not show delete link.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/jenkins/branch/BaseEmptyView.java src/test/java/jenkins/branch/OrganizationFolderTest.java http://jenkins-ci.org/commit/branch-api-plugin/59526c1d160d1712098ca5128dbdb268a4b02f8e Log: [FIXED JENKINS-32782] Empty view was not considered equal to itself, so did not show delete link.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            src/main/java/jenkins/branch/BaseEmptyView.java
            src/test/java/jenkins/branch/OrganizationFolderTest.java
            http://jenkins-ci.org/commit/branch-api-plugin/2c30f50f0245294fe215f2e0c5158ff4397cb108
            Log:
            Merge pull request #31 from jglick/BaseEmptyView.equals-JENKINS-32782

            JENKINS-32782 Empty view did not show delete link

            Compare: https://github.com/jenkinsci/branch-api-plugin/compare/1fdf9e674200...2c30f50f0245

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: src/main/java/jenkins/branch/BaseEmptyView.java src/test/java/jenkins/branch/OrganizationFolderTest.java http://jenkins-ci.org/commit/branch-api-plugin/2c30f50f0245294fe215f2e0c5158ff4397cb108 Log: Merge pull request #31 from jglick/BaseEmptyView.equals- JENKINS-32782 JENKINS-32782 Empty view did not show delete link Compare: https://github.com/jenkinsci/branch-api-plugin/compare/1fdf9e674200...2c30f50f0245

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                znorris Zach Norris
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: