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

singleConditionalBuilder closure creates FATAL: null java.lang.StackOverFlow error using runner{ run() }

XMLWordPrintable

      Using run() in runner causes the error:

      job('example') {
        steps {
          // This is a single step conditional
          singleConditionalBuilder {
            buildStep {
              shell {
                command("ps -ef")
              }
            }
            condition {
              alwaysRun()
            }
            runner {
              run()
            }
          }
        }
      }
      

      If I change it to fail() there's no error.

        1. Screen Shot 2017-05-01 at 10.32.52 AM.png
          33 kB
          Eric Wallengren
        2. stacktrace.txt
          74 kB
          Eric Wallengren

            Unassigned Unassigned
            fzbassman Eric Wallengren
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: