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 web221

Solution icon of googlegroups
via Google Groups by Bartłomiej Kruczyk, 6 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, 10 months 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, 10 months 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), 11 months 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), 9 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
via Google Groups by Unknown author, 10 months ago
startup failed: WorkflowScript: 3: unexpected token: dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59 @ line 3, column 34. CustomStep 'dd3afb84-7f74-4a47-b9da-1cd5ed1cfc59' ^ 1 error

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

Solution icon of oraclecommunity
via Oracle Community by df0ca628-9cca-4549-95cf-21639d42a893, 10 months ago
startup failed: _: 3: unable to resolve class org.apache.hadoop.fs.FileSystem @ line 3, column 1. import org.apache.hadoop.fs.FileSystem ^ _: 5: unable to resolve class org.apache.hadoop.conf.Configuration @ line 5, column 1. import org.apache.hadoop.conf.Configuration ^ _: 4: unable to resolve class org.apache.hadoop.fs.Path @ line 4, column 1. import org.apache.hadoop.fs.Path ^ 3 errors

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

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, 8 months ago
4 times, 2 weeks ago
Once, 3 weeks ago
Once, 1 month ago
2 times, 1 month ago
28 more bugmates