Getting error while giving jenkins build for creating docker image through pipeline script

0 votes
Started by user edureka

Running in Durability level: MAX_SURVIVABILITY

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

WorkflowScript: 15: Expected a stage @ line 15, column 9.

           stage('building image'){


1 error

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(

at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(

at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(

at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(

at org.codehaus.groovy.control.CompilationUnit.compile(

at groovy.lang.GroovyClassLoader.doParseClass(

at groovy.lang.GroovyClassLoader.parseClass(

at groovy.lang.GroovyShell.parseClass(

at groovy.lang.GroovyShell.parse(

at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(

at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(

at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(

at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(


at hudson.model.ResourceController.execute(


Finished: FAILURE
May 28, 2020 in DevOps & Agile by Chokkalingabarathi
• 120 points
Can you share your script?

2 answers to this question.

0 votes
Problem with your pipeline script.please check the script and validate it using Google.
answered May 29, 2020 by anonymous
0 votes
Can you show your full code
answered May 29, 2020 by SV

Related Questions In DevOps & Agile

0 votes
1 answer

Docker for windows error: while exposing Ports

I faced a similar issue, just follow ...READ MORE

answered Aug 28, 2018 in DevOps & Agile by Tyrion anex
• 8,670 points
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

getting error while trying for "kubectl get nodes" on node

Hi@Surya, I think you did not configure your ...READ MORE

answered Jul 9, 2020 in DevOps & Agile by MD
• 95,300 points
0 votes
1 answer
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points