org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 3: Expected to find someKey "someValue" @ line 3, column 12. docker { ^ WorkflowScript: 3: Missing required parameter for agent type "docker": image @ line 3, column 5. docker { ^ 2 errors


Solutions on the web153

Solution icon of googlegroups
via Google Groups by Bartłomiej Kruczyk, 8 months ago
startup failed: WorkflowScript: 3: Expected to find someKey "someValue" @ line 3, column 12. docker { ^ WorkflowScript: 3: Missing required parameter for agent type "docker": image @ line 3, column 5. docker { ^ 2 errors

Solution icon of jenkins
via Jenkins JIRA by Patrick Wolf, 1 year ago
startup failed: WorkflowScript: 3: Missing required section 'agent' @ line 3, column 1. pipeline{ ^ 1 error

Solution icon of jenkins
via Jenkins JIRA by Patrick Wolf, 1 year ago
startup failed: WorkflowScript: 5: Missing required parameter: 'ordinal' @ line 5, column 13. milestone() ^ WorkflowScript: 10: Missing required parameter: 'ordinal' @ line 10, column 13. milestone (label

Solution icon of googlegroups
via Google Groups by pw...@cloudbees.com (JIRA), 1 year ago
startup failed: WorkflowScript: 3: Missing required section 'agent' @ line 3, column 1.    pipeline{    ^ 1 error

Solution icon of googlegroups
via Google Groups by pw...@cloudbees.com (JIRA), 11 months ago
startup failed:<br> WorkflowScript: 5: Missing required parameter: 'ordinal' @ line 5, column 13.<br> milestone()<br> ^</p> <p style="margin-top:0;margin-bottom:10px;; margin: 10px 0 0 0">WorkflowScript: 10: Missing required parameter: 'ordinal

Solution icon of stackoverflow
startup failed: WorkflowScript: 10: Expected a stage @ line 10, column 9. lock(resource: 'myResource') { ^ WorkflowScript: 10: Stage does not have a name @ line 10, column 9. lock(resource: 'myResource

Solution icon of googlegroups
startup failed: WorkflowScript: 16: Missing required parameter: @ line 16, column 25. sauceconnect(options: '', useGeneratedTunnelIdentifier: , verboseLogging: ) { ^ 1 error

Solution icon of stackoverflow
via Stack Overflow by BadmintonCat
, 6 months ago
startup failed: WorkflowScript: 30: Invalid option type "pipelineTriggers". Valid option types: [buildDiscarder, catchError, disableConcurrentBuilds, overrideIndexTriggers, retry, script, skipDefaultCheckout, skipStagesAfterUnstable, timeout

Solution icon of github
via GitHub by gattie
, 5 months ago
startup failed: WorkflowScript: 85: Expected a step @ line 85, column 17. saltresult = salt authtype: 'pam', saveEnvVar: true, clientInterface: local(arguments: "ecm-api test", blockbuild: true, function: 'ecm.deploy

Solution icon of googlegroups
via Google Groups by Tomas Pekarovic, 6 months ago
startup failed: WorkflowScript: 16: Nothing to execute within stage "new" @ line 16, column 9. stage('new'){ ^ 1 error

Stack trace

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: 3: Expected to find someKey "someValue" @ line 3, column 12.
       docker {
              ^

WorkflowScript: 3: Missing required parameter for agent type "docker": image @ line 3, column 5.
       docker {
       ^

2 errors
	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:429)
	at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:392)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:221)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:404)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

8 times, 10 months ago
5 times, 1 week ago
3 times, 1 week ago
Once, 2 months ago
Once, 3 months ago
28 more bugmates