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

StackOverflowError with Declarative Pipeline

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • workflow-cps-plugin
    • Jenkins 2.46.3
      Plugin Pipeline: Groovy (workflow-cps) version 2.33

    Description

      After updating the plugin "Pipeline: Groovy" (ID:workflow-cps) from version 2.32 to 2.33 the jobs using declarative pipeline fail.

      A pipeline job configured with the following script (not from SCM):

      pipeline{
        agent any
        stages{
          stage('Step A'){
            steps{ 
              echo 'This is step A'
            }
          }
        }
      }

       

      fails and gives the following error:

      java.lang.StackOverflowError
      

       

      Complete output attached in this file: jenkinsOutput.txt

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              albertosavila Alberto Sanchez
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: