It also looks like there are two double quotes in the beginning right after the first single quote. I think there should only be one double quote there, or the quoting will come out wrong. Also, I'm not sure you need the single quotes at all.

Eric

On 8/19/2015 8:38 AM, Mark Waite wrote:

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 <sanjay.lama2...@gmail.com <mailto:sanjay.lama2...@gmail.com>> 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 jenkinsci-users+unsubscr...@googlegroups.com
    <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
    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 jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFs6jZjyxREJ6i3MUy%3DWxTsok4OiypMemHRubsoNrNrcA%40mail.gmail.com <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFs6jZjyxREJ6i3MUy%3DWxTsok4OiypMemHRubsoNrNrcA%40mail.gmail.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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/55D48138.3070305%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to