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

Deleting Jenkinsfile does not remove a repository from an organization folder

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: branch-api-plugin
    • Labels:
    • Environment:
      Jenkins 1.642.4 + Github Organization Folder Plugin 1.2
      GitHub Enterprise in private mode.
    • Similar Issues:

      Description

      If I remove all Jenkinsfile from a GitHub repository (all branches) then the repository is still left in the folder. The contents of the repository are empty (i.e. no branches are shown).

      The same happens if I delete or transfer a repository to a another group/owner.

      I expected the repository to disappear if there are no longer any Jenkinsfile or if the repository doesn't exist.

        Attachments

          Activity

          docwhat Christian Höltje created issue -
          docwhat Christian Höltje made changes -
          Field Original Value New Value
          Description If I remove all {{Jenkinsfile}}s from a GitHub repository (all branches) then the repository is still left in the folder. The contents of the repository are empty (i.e. no branches are shown).

          The same happens if I delete or transfer a repository to a another group/owner.

          I expected the repository to disappear if there are no longer any {{Jenkinsfile}}s or if the repository doesn't exist.
          If I remove all {{Jenkinsfile}} from a GitHub repository (all branches) then the repository is still left in the folder. The contents of the repository are empty (i.e. no branches are shown).

          The same happens if I delete or transfer a repository to a another group/owner.

          I expected the repository to disappear if there are no longer any {{Jenkinsfile}} or if the repository doesn't exist.
          recena Manuel Recena Soto made changes -
          Assignee Kohsuke Kawaguchi [ kohsuke ] Manuel Recena Soto [ recena ]
          jglick Jesse Glick made changes -
          Assignee Manuel Recena Soto [ recena ] Jesse Glick [ jglick ]
          jglick Jesse Glick made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          jglick Jesse Glick made changes -
          Component/s branch-api-plugin [ 18621 ]
          Component/s github-organization-folder-plugin [ 21427 ]
          Priority Minor [ 4 ] Major [ 3 ]
          Labels api
          jglick Jesse Glick made changes -
          Summary Old repos aren't removed Deleting Jenkinsfile does not remove a repository from an organization folder
          jglick Jesse Glick made changes -
          Remote Link This issue links to "branch-api PR 45 (Web Link)" [ 14431 ]
          jglick Jesse Glick made changes -
          Remote Link This issue links to "workflow-multibranch PR 15 (Web Link)" [ 14432 ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 170306 ] JNJira + In-Review [ 198835 ]

            People

            • Assignee:
              jglick Jesse Glick
              Reporter:
              docwhat Christian Höltje
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: