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

Unable to delete pipeline job - Question about which user is performing the delete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • core
    • None
    • OS Windows Server 2016 64 bit
      Jenkins: 2.187 - running as Windows service

      Seeing issue similar to JENKINS-58733 where we cannot delete pipeline jobs.

      Call stack:

      jenkins.util.io.CompositeIOException: Unable to delete 'C:\Program Files (x86)\Jenkins\jobs\ELD-Clearinghouse\jobs\api\jobs\Drivers\jobs\DriverCommon\branches\7-overriding-source-filtering'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      	at jenkins.util.io.PathRemover.forceRemoveRecursive(PathRemover.java:99)
      	at hudson.Util.deleteRecursive(Util.java:293)
      	at hudson.Util.deleteRecursive(Util.java:282)
      	at hudson.model.AbstractItem.performDelete(AbstractItem.java:791)
      

      We are not sure what user is actually attempting to perform the delete - perhaps we can start there if there's a way to determine what user is doing the delete in this scenario.

      I see on my local https://jenkins.iseinc.biz/systemInfo that there's a user.name - could that potentially be the user we need to look at for this?

       

      We see this issue on numerous different pipelines - it also happens regardless of which Jenkins user is attempting to do the delete. Admins and non-admins get the same error.

       

      Upgrading to 2.189 is possible as I see the fix for 58733 is in there, so we will try that tonight and will report back.

            Unassigned Unassigned
            curranlipsett Curran Lipsett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: