You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When used in different nodes, I get the following error.
Script:
def summary = createSummary 'monitor.gif'
summary.appendText("<h3>title</h3>", false)
node (){
// do something
echo "a"
}
summary.appendText("<li>add result</li>", false)
Error:
[Pipeline] End of Pipeline
an exception which occurred:
in field com.cloudbees.groovy.cps.impl.BlockScopeEnv.locals
in object com.cloudbees.groovy.cps.impl.BlockScopeEnv@c0d9e19
in field com.cloudbees.groovy.cps.impl.CpsClosureDef.capture
in object com.cloudbees.groovy.cps.impl.CpsClosureDef@280f0586
in field com.cloudbees.groovy.cps.impl.CpsClosure.def
in object org.jenkinsci.plugins.workflow.cps.CpsClosure2@5a14122c
in field org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.closures
in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@21d4103e
in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@21d4103e
Caused: java.io.NotSerializableException: com.jenkinsci.plugins.badge.action.BadgeSummaryAction
The text was updated successfully, but these errors were encountered:
When used in different nodes, I get the following error.
Script:
Error:
The text was updated successfully, but these errors were encountered: