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

Not installing promotions plugin results in empty/lost builds

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • appaloosa-plugin
    • None

      If you don't install the promotions plugin, your console log will sometimes be blank, and your the build.xml for each build will not be saved, resulting in lost data.

      In the logs, you will see this error:

      Jul 10, 2012 4:08:04 PM hudson.model.Executor run
      SEVERE: Executor threw an exception
      java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/JobPropertyImpl
      at org.jenkins.plugins.appaloosa.AppaloosaRunListener.onCompleted(AppaloosaRunListener.java:47)
      at org.jenkins.plugins.appaloosa.AppaloosaRunListener.onCompleted(AppaloosaRunListener.java:42)
      at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:178)
      at hudson.model.Run.run(Run.java:1458)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:238)

      Rating this as critical since it results in data loss.

          [JENKINS-14374] Not installing promotions plugin results in empty/lost builds

          Damned
          I will try to investigate.
          I think I followed @kohsuke recommandations to manage optional extensions.
          I will need to check with him.

          Arnaud Héritier added a comment - Damned I will try to investigate. I think I followed @kohsuke recommandations to manage optional extensions. I will need to check with him.

          I haven't noticed data loss, but the problem still exists in Jul 2015.

          Jul 29, 2015 6:08:00 PM hudson.model.listeners.RunListener report
          WARNING: RunListener failed
          java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/JobPropertyImpl
          at org.jenkins.plugins.appaloosa.AppaloosaRunListener.onCompleted(AppaloosaRunListener.java:49)
          at org.jenkins.plugins.appaloosa.AppaloosaRunListener.onCompleted(AppaloosaRunListener.java:44)
          at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201)
          at hudson.model.Run.execute(Run.java:1786)
          at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
          at hudson.model.ResourceController.execute(ResourceController.java:98)
          at hudson.model.Executor.run(Executor.java:381)

          Dmytro Pohromskyy added a comment - I haven't noticed data loss, but the problem still exists in Jul 2015. Jul 29, 2015 6:08:00 PM hudson.model.listeners.RunListener report WARNING: RunListener failed java.lang.NoClassDefFoundError: hudson/plugins/promoted_builds/JobPropertyImpl at org.jenkins.plugins.appaloosa.AppaloosaRunListener.onCompleted(AppaloosaRunListener.java:49) at org.jenkins.plugins.appaloosa.AppaloosaRunListener.onCompleted(AppaloosaRunListener.java:44) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:201) at hudson.model.Run.execute(Run.java:1786) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381)

            Unassigned Unassigned
            recampbell Ryan Campbell
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: