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

Pipeline job does not fail when serialization of Pipeline steps arguments fails within NonCPS

      Discovered it during testing of JENKINS-50665

      Example (for nonCPS wrapper which may not work correctly as jglick mentioned in the PR):

      nonCPS.exec() { 
          def formatter = new org.jfree.chart.axis.QuarterDateFormat()
          printTimestamp arg1: 'foo', formatter: formatter, persistFormatter: true
      }
      

          [JENKINS-50670] Pipeline job does not fail when serialization of Pipeline steps arguments fails within NonCPS

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Labels New: JEP-200 diagnostics
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-50633 [ JENKINS-50633 ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "https://github.com/jenkinsci/workflow-cps-plugin/pull/218 (Web Link)" [ 20396 ]
          Oleg Nenashev made changes -
          Description Original: Discovered it during testing of JENKINS-50665 New: Discovered it during testing of JENKINS-50665

          Example (for nonCPS wrapper which may not work correctly as [~jglick] mentioned in the PR):

          {code:java}
          nonCPS.exec() {
            def formatter = new org.jfree.chart.axis.QuarterDateFormat()
              printTimestamp arg1: 'foo', formatter: formatter, persistFormatter: true
          }
          {code}
          Oleg Nenashev made changes -
          Description Original: Discovered it during testing of JENKINS-50665

          Example (for nonCPS wrapper which may not work correctly as [~jglick] mentioned in the PR):

          {code:java}
          nonCPS.exec() {
            def formatter = new org.jfree.chart.axis.QuarterDateFormat()
              printTimestamp arg1: 'foo', formatter: formatter, persistFormatter: true
          }
          {code}
          New: Discovered it during testing of JENKINS-50665

          Example (for nonCPS wrapper which may not work correctly as [~jglick] mentioned in the PR):

          {code:java}
          nonCPS.exec() {
              def formatter = new org.jfree.chart.axis.QuarterDateFormat()
              printTimestamp arg1: 'foo', formatter: formatter, persistFormatter: true
          }
          {code}
          Jesse Glick made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]
          Sam Van Oort made changes -
          Link New: This issue is related to JENKINS-50752 [ JENKINS-50752 ]

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: