pipeline loading error after upgrade to 2.19.1 LTS from 2.7.4 LTS

13 views
Skip to first unread message

Hemang Lavana

unread,
Oct 28, 2016, 2:13:44 PM10/28/16
to jenkins...@googlegroups.com
Hi,

I have a pipeline code working on 2.7.4 LTS. After I upgraded to 2.19.1 LTS, it fails to load the pipeline script from git.
I need some help in how to find the root cause of following failure:

...
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: -1: You are not allowed to override the final method ___cps___2() from class 'com.cisco.astro.paw.polaris.PolarisPlatform'.
 @ line -1, column -1.
1 error

	at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
	at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1073)
	at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:591)
	at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:569)
	at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:546)
	at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
	at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
	at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
	at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
	at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:67)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:411)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:374)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:220)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:401)

Any help in identifying the root cause of the above failure and fixing it is much appreciated.

Thanks,
Hemang.
Reply all
Reply to author
Forward
0 new messages