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

Occasional StackOverflow using `downstreamParameterized` publisher

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: job-dsl-plugin
    • Labels:
    • Environment:
      java version "1.8.0_60"
      Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
      Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

      Saw error in both: job-dsl-plugin 1.38 & 1.39-SNAPSHOT
    • Similar Issues:

      Description

      On our environment, we're occasionally seeing StackOverflows which seems to be traced to `downstreamParameterized`. When run on my local machine, I see the StackOverflow but am able to generate XML files. However, on a Jenkins instance, we're occasionally seeing jobs which hang/die and I think this might be the cause.

      This is the job definition I've been testing on:

      freeStyleJob('foo') {
          publishers {
              downstreamParameterized {
                  trigger('some_job') {
                      condition('UNSTABLE_OR_BETTER')
                      parameters {
                          currentBuild()
                          predefinedProps([
                                           parentJob: 'hao',
                                           artifactDir: 'blah',
                                           distribution: 'dev',
                                          ])
                      }
                  }
              }
          }
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              daspilker Daniel Spilker
              Reporter:
              rymndhng Ray H
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: