The other alternative is to use the "legacy" version of the directory (e.g.
C:\Progra~1\...)  I think you'll find it by doing a "dir /x c:\" on the
commant prompt.

Richard.

On Thu, 20 Aug 2015 at 15:35 Sanjay Lama <[email protected]> wrote:

> Hello there!!
>>
>>  I put quotes in work dir. But, now I am getting following error:
>
> ERROR: Build step failed with 
> exceptionorg.codehaus.groovy.control.MultipleCompilationErrorsException 
> <http://stacktrace.jenkins-ci.org/search?query=org.codehaus.groovy.control.MultipleCompilationErrorsException>:
>  startup failed:
> Script1.groovy: 1: expecting EOF, found 'C' @ line 1, column 10.
>    return ""C:/Program Files (x86)/Jenkins/jobs/test1/workspace/target""
>             ^
>
> 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:142)
>       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 groovy.lang.GroovyShell.evaluate(GroovyShell.java:578)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:618)
>       at groovy.lang.GroovyShell.evaluate(GroovyShell.java:589)
>       at com.g2one.hudson.grails.GrailsBuilder.eval(GrailsBuilder.java:337)
>       at com.g2one.hudson.grails.GrailsBuilder.perform(GrailsBuilder.java:237)
>       at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
>       at hudson.model.Build$BuildExecution.build(Build.java:205)
>       at hudson.model.Build$BuildExecution.doRun(Build.java:162)
>       at 
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537)
>       at hudson.model.Run.execute(Run.java:1741)
>       at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
>       at hudson.model.ResourceController.execute(ResourceController.java:98)
>       at hudson.model.Executor.run(Executor.java:381)
> Build step 'Build With Grails' marked build as failure
> Finished: FAILURE
>
>
> *Could you please help me out? :)*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/687d663d-6cc5-49a1-928b-71b80fc8d5f9%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/687d663d-6cc5-49a1-928b-71b80fc8d5f9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAMui947ktzP%2BFj1BWMxijUT%3DDXvLp4hcfJwxRPY8YSG0qtY-XQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to