-
Bug
-
Resolution: Not A Defect
-
Major
The following shared library class:
package org.test; class X implements Serializable { String toString() { "X" } }
used in a Jenkinsfile like:
def x = new org.test.X() echo "${x}"
will not result in any output. The output wont even show the echo step.
However
def x = new org.test.X() echo "${x.toString()}"
will work as expected
- relates to
-
JENKINS-45982 Calling super to CPS-transformed methods fails with CpsCallableInvocation
- Resolved
- links to