org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 4: unexpected char: '\' @ line 4, column 74. n.repo.local=.repository -s D:\Jenkins\s ^ 1 error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Anders Hammar, 1 year ago
startup failed: WorkflowScript: 4: unexpected char: '\' @ line 4, column 74. n.repo.local=.repository -s D:\Jenkins\s ^ 1 error
via Jenkins JIRA by Anders Hammar, 1 year ago
startup failed: WorkflowScript: 4: unexpected char: '\' @ line 4, column 74. n.repo.local=.repository -s D:\Jenkins\s ^ 1 error
via Jenkins JIRA by Jesse Glick, 1 year ago
startup failed: WorkflowScript: 2: Ambiguous expression could be either a parameterless closure expression or an isolated open code block; solution: Add an explicit closure parameter list, e.g. {it -> ...}, or force it to be treated as an open block by giving it a label, e.g. L:{...} @ line 2, column 1. { ^ 1 error
via Jenkins JIRA by Jesse Glick, 1 year ago
startup failed: WorkflowScript: 2: Ambiguous expression could be either a parameterless closure expression or an isolated open code block; solution: Add an explicit closure parameter list, e.g. {it -> ...}, or force it to be treated as an open block by giving it a label, e.g. L:{...} @ line 2, column 1. { ^ 1 error
via GitHub by andreybehalf
, 1 year ago
startup failed: WorkflowScript: 127: unexpected token: < @ line 127, column 71. eportPublisher', buildStatus: <object of ^ 1 error
via Jenkins JIRA by Martin Bédard, 1 year ago
startup failed: WorkflowScript: 13: expecting ''', found '<EOF>' @ line 13, column 2. } ^ 1 error
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 4: unexpected char: '\' @ line 4, column 74. n.repo.local=.repository -s D:\Jenkins\s ^ 1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131)
at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359)
at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:137)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:108)
at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236)
at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:161)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:846)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:550)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:526)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:503)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:302)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:731)
at groovy.lang.GroovyShell.parse(GroovyShell.java:743)
at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:100)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:349)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:317)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:173)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43)

Users with the same issue

2 times, 1 day ago
4 times, 1 month ago
Once, 5 months ago
Once, 6 months ago
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.