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

Shelving fails if the optional Folder plugin is absent

XMLWordPrintable

      • Try to shelve a project from a fresh Jenkins installation without the Folder plugin installed
      • Observe that the project won't be shelved
      • In the logs:

       

      Executor threw an exception
      java.lang.ClassNotFoundException: com.cloudbees.hudson.plugins.folder.AbstractFolder
      	at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1374)
      	at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1327)
      	at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1080)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      Caused: java.lang.NoClassDefFoundError: com/cloudbees/hudson/plugins/folder/AbstractFolder
      	at org.jvnet.hudson.plugins.shelveproject.ShelveProjectExecutable.createListOfFoldersToBackup(ShelveProjectExecutable.java:123)
      	at org.jvnet.hudson.plugins.shelveproject.ShelveProjectExecutable.archiveProject(ShelveProjectExecutable.java:63)
      	at org.jvnet.hudson.plugins.shelveproject.ShelveProjectExecutable.run(ShelveProjectExecutable.java:47)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      

            pierrebtz Pierre Beitz
            pierrebtz Pierre Beitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: