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

Promoted build job hangs forever after promotion job finishes

XMLWordPrintable

      Using promoted_builds plugin in build job with manual approval to trigger promotion process which triggers build on another job (deploy).

      Build (maven2) job triggers promotion job which finishes successfully. Build job hangs indefinitely with following last message to console:
      Waiting for the completion of deploy

      Following is logged when deploy job finishes:
      INFO: deploy #3 main build action completed: SUCCESS
      Jul 11, 2013 12:26:05 PM hudson.model.Executor run
      SEVERE: Executor threw an exception
      java.lang.IllegalArgumentException: promotion
      at hudson.maven.ModuleName.fromString(ModuleName.java:97)
      at hudson.maven.MavenModuleSet.getItem(MavenModuleSet.java:352)
      at hudson.maven.MavenModuleSet.getItem(MavenModuleSet.java:115)
      at jenkins.model.Jenkins.getItem(Jenkins.java:2248)
      at jenkins.model.Jenkins.getItem(Jenkins.java:2271)
      at hudson.model.Items.fromNameList(Items.java:98)
      at join.JoinTrigger$DescriptorImpl$RunListenerImpl.notifyJob(JoinTrigger.java:405)
      at join.JoinTrigger$DescriptorImpl$RunListenerImpl.onCompleted(JoinTrigger.java:398)
      at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:178)
      at hudson.model.Run.execute(Run.java:1552)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)

      If (promoted) build job is a "free-style" job rather than a maven2 job, build job finishes after promotion job finishes.

      If join plugin is disabled, promoted build job finishes after promotion job finishes.

            mdonohue mdonohue
            rstokoe Rick Stokoe
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: