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.

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

              Created:
              Updated: