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

Deleted branches are still Runnable from Blue Ocean

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have a deleted branch which hasn't yet been "cleaned up" by the Orphan Item strategy for my Multibranch Pipeline (which is using whatever the settings are defined by New Pipeline in Blue Ocean).

      Apparently I can still "Run" the Pipeline, which results in the following error:

      Started by user R. Tyler Croy
      ERROR: Could not determine exact tip revision of 48620; falling back to nondeterministic checkout
      Checking out hudson.scm.NullSCM into /var/jenkins_home/workspace/canary_48620-C3YVMWJP3DJ2ZZJAR4JIMMDY4E5YU7ZHZ4AFTAAQG65ZWZVXYXTA@script to read Jenkinsfile
      ERROR: /var/jenkins_home/workspace/canary_48620-C3YVMWJP3DJ2ZZJAR4JIMMDY4E5YU7ZHZ4AFTAAQG65ZWZVXYXTA@script/Jenkinsfile not found
      Finished: FAILURE
      

      The only reason I actually discovered this is because the deleted branch still showed up in the "Favorites" section of my home Activity View, which might be another bug unto itself.

        Attachments

        1. Selection_300.png
          Selection_300.png
          22 kB
        2. Selection_301.png
          Selection_301.png
          18 kB
        3. Selection_302.png
          Selection_302.png
          28 kB
        4. Selection_303.png
          Selection_303.png
          45 kB

          Activity

          Hide
          rtyler R. Tyler Croy added a comment -

          This also is a problem with Pull Requests which have since been merged, FYI.

          Show
          rtyler R. Tyler Croy added a comment - This also is a problem with Pull Requests which have since been merged, FYI.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: