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

Unable to delete metadata job

XMLWordPrintable

      I am unable to completely delete a job. Something is happening where after a delete of the job, the job will get recreated. I believe it has to do with the SaveableOperation class as the run method is being invoked. I inserted some debugging code in this class and noticed that this class is invoked after the delete has been performed.

      Steps to reproduce:
      Create a new Job
      Delete Job
      Restart Jenkins
      Job exists still but is disabled.

      I have attached a junit test for verifying this as being an issue. If you look at the test unit it will perform the delete and grabs the timestamp of the file being created before and after. It will also do an assert if the directory still exists after the reload.

            rsandell rsandell
            schristou Steven Christou
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: