Since work dir has a space in its path, you either need to quote the value
or move work dir to a path which does not include a space.

On Wed, Aug 19, 2015, 6:12 AM Sanjay Lama <[email protected]> wrote:

> I am trying to implement jenkins for Continuous integration with grails.
> But, I am getting following error every time:
>
> [workspace] $ cmd.exe /C '""C:\Program Files 
> (x86)\Jenkins\jobs\wrapperTest\workspace\grailsw.bat" 
> "-Dgrails.work.dir=C:/Program Files 
> (x86)/Jenkins/jobs/wrapperTest/workspace/target" -Dserver.port=8111 war 
> --non-interactive --plain-output --stacktrace --refresh-dependencies && exit 
> %%ERRORLEVEL%%"'
> /Jenkins/jobs/wrapperTest/workspace/target was unexpected at this time.
> Build step 'Build With Grails' marked build as failure
> Finished: FAILURE
>
>
>
> my grails version is : 2.4.5
>
> and jenkins : 1.624
>
>
> Grails app runs perfectly fine when i run via command line.
>
> --
> 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/bd9cfe9b-a646-486e-93f2-37761b19def0%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/bd9cfe9b-a646-486e-93f2-37761b19def0%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/CAO49JtFs6jZjyxREJ6i3MUy%3DWxTsok4OiypMemHRubsoNrNrcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to