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

Build triggered by promotion fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Jenkins version = 1.420
      Promoted builds plugin version = 2.2

      I created two bare bones test projects to replicate:

      1. BUG TEST - promoter - Does nothing, but has a promotion which must be manually approved, and which triggers a parametrized build of another project (See screenshot)
      2. BUG TEST - downstream - Does nothing at all.

      When I promote the first project, I expect the second to run. Instead I get:

      Started by upstream project "BUG TEST - promoter/promotion/GoldStarPromotions" build number 5
      FATAL: null
      java.lang.NullPointerException
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:85)
      	at org.jvnet.hudson.plugins.DownstreamBuildViewUpdateListener.onStarted(DownstreamBuildViewUpdateListener.java:46)
      	at hudson.model.listeners.RunListener.fireStarted(RunListener.java:188)
      	at hudson.model.Run.run(Run.java:1371)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      	at hudson.model.ResourceController.execute(ResourceController.java:88)
      	at hudson.model.Executor.run(Executor.java:175)
      

      If any further information would be helpful please let me know.

            Unassigned Unassigned
            roytruelove Roy Truelove
            Votes:
            11 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: