![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Jesse Glick
|
Components:
|
workflow-plugin |
Created:
|
06/Jan/15 9:53 PM
|
Description:
|
When a CPS-transformed method is called from a Groovy class constructor, the CpsCallableInvocation is not caught and aborts the build.
Here is a minimally-reproducible test case:
class B {
static def sqr(x) { x*x }
}
class A {
A(y) {
B.sqr(y)
}
}
def a = new A(42)
The resulting CpsCallableInvocation is not caught and the build aborts:
|
Project:
|
Jenkins
|
Priority:
|
Major
|
Reporter:
|
Alexander Bertram
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit
https://groups.google.com/d/optout.