[JIRA] (JENKINS-58620) expected to call CpsGroovyShell.evaluate but wound up catching <something>.run

0 vistas
Ir al primer mensaje no leído

jglick@cloudbees.com (JIRA)

no leída,
13 ago 2019, 12:19:02 p.m.13/8/19
para jenkinsc...@googlegroups.com
Jesse Glick updated an issue
 
Jenkins / Bug JENKINS-58620
expected to call CpsGroovyShell.evaluate but wound up catching <something>.run
Change By: Jesse Glick
Summary: MPL shared library logic execution caused CPS mismatch warning expected to call CpsGroovyShell.evaluate but wound up catching <something>.run
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

jglick@cloudbees.com (JIRA)

no leída,
13 ago 2019, 12:23:04 p.m.13/8/19
para jenkinsc...@googlegroups.com
Jesse Glick commented on Bug JENKINS-58620
 
Re: expected to call CpsGroovyShell.evaluate but wound up catching <something>.run

A patch to groovy-cps as in #2 would be the appropriate fix, I think. If we are entering certain overloads of GroovyShell.evaluate and we get a continuation from some Script.run implementation, then all is well and there should be no warning.

sparshev@griddynamics.com (JIRA)

no leída,
13 ago 2019, 2:08:02 p.m.13/8/19
para jenkinsc...@googlegroups.com

Thank you, I will prepare an implementation with tests for this case.

sparshev@griddynamics.com (JIRA)

no leída,
13 ago 2019, 4:07:02 p.m.13/8/19
para jenkinsc...@googlegroups.com

Ok, just prepared a couple of PR's:

Jesse Glick could you please check them?

andrew.bayer@gmail.com (JIRA)

no leída,
9 sept 2019, 10:15:01 a.m.9/9/19
para jenkinsc...@googlegroups.com

I've merged the groovy-cps PR and will be cutting a release today.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

sparshev@griddynamics.com (JIRA)

no leída,
30 sept 2019, 2:31:04 p.m.30/9/19
para jenkinsc...@googlegroups.com

The changes of PR#315 was merged to the master of workflow-cps-plugin - so hopefully will be available in the next release 2.75

dnusbaum@cloudbees.com (JIRA)

no leída,
31 oct 2019, 4:41:03 p.m.31/10/19
para jenkinsc...@googlegroups.com
Devin Nusbaum resolved as Fixed
 

A fix for this issue was just released in Pipeline: Groovy Plugin version 2.75.

Change By: Devin Nusbaum
Status: Open Resolved
Resolution: Fixed
Released As: workflow-cps 2.75

sparshev@griddynamics.com (JIRA)

no leída,
1 nov 2019, 3:26:06 p.m.1/11/19
para jenkinsc...@googlegroups.com

sparshev@griddynamics.com (JIRA)

no leída,
1 nov 2019, 3:26:07 p.m.1/11/19
para jenkinsc...@googlegroups.com
Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos