• 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.

          [JENKINS-10342] Build triggered by promotion fails

          Roy Truelove created issue -
          sogabe made changes -
          Component/s New: downstream-buildview [ 15699 ]
          Component/s Original: promoted-builds [ 15567 ]
          Roy Truelove made changes -
          Component/s New: promoted-builds [ 15567 ]
          Component/s Original: downstream-buildview [ 15699 ]
          Roy Truelove made changes -
          Description Original: I created two bare bones test projects to replicate:

          # *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)
          # *BUT TEST - downstream* - Does nothing at all.

          When I promote the first project, I expect the second to run and spit out env variables. Instead I get:

          {code}
          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)
          {code}

          If any further information would be helpful please let me know.
          New: I created two bare bones test projects to replicate:

          # *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)
          # *BUT TEST - downstream* - Does nothing at all.

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

          {code}
          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)
          {code}

          If any further information would be helpful please let me know.
          Roy Truelove made changes -
          Component/s New: downstream-buildview [ 15699 ]
          Component/s Original: promoted-builds [ 15567 ]
          Roy Truelove made changes -
          Description Original: I created two bare bones test projects to replicate:

          # *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)
          # *BUT TEST - downstream* - Does nothing at all.

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

          {code}
          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)
          {code}

          If any further information would be helpful please let me know.
          New: I created two bare bones test projects to replicate:

          # *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)
          # *BUG TEST - downstream* - Does nothing at all.

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

          {code}
          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)
          {code}

          If any further information would be helpful please let me know.
          kevin houston made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          OHTAKE Tomohiro made changes -
          Link New: This issue is duplicated by JENKINS-10395 [ JENKINS-10395 ]
          Hannes Kogler made changes -
          Link New: This issue is related to JENKINS-17407 [ JENKINS-17407 ]
          Eric Pyle made changes -
          Link New: This issue is duplicated by JENKINS-15204 [ JENKINS-15204 ]
          evernat made changes -
          Link New: This issue is duplicated by JENKINS-13425 [ JENKINS-13425 ]

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

              Created:
              Updated: