Full language coverage.

      The remaining tasks should be driven by throw new UnsupportedOperationException in CpsTransformer.

      • synchronized statements (maybe warn and ignore?)
      • Method pointer expression
      • List spread expression x=[2,3]; y=[1,*x,4]; assert y=[1,2,3,4]
      • Map spread expression
      • Spread method call: x = [1,2,3]; assert x*.toString() = ["1","2","3"]
      • Safe method call: x=null; assert x?.foo()==null

      See also comment in localMethodCallWithinLotsOfBranches.groovy.

      Must also ensure that any exception in this area is properly reported as an error in the log, rather than simply killing the VM thread.

          [JENKINS-25979] Finish Groovy CPS coverage

          Jesse Glick created issue -
          Jesse Glick made changes -
          Labels New: groovy
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-27893 [ JENKINS-27893 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-27927 [ JENKINS-27927 ]
          Jesse Glick made changes -
          Epic Link New: JENKINS-35390 [ 171183 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 159967 ] New: JNJira + In-Review [ 180194 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-33051 [ JENKINS-33051 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          Jesse Glick made changes -
          Component/s New: workflow-cps-plugin [ 21713 ]
          Component/s Original: pipeline [ 21692 ]
          CloudBees Inc. made changes -
          Remote Link New: This issue links to "CloudBees Internal OSS-944 (Web Link)" [ 18797 ]

            kohsuke Kohsuke Kawaguchi
            jglick Jesse Glick
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: