Hi,

I tried to create an account on https://jenkins-ci.org/account/doSignup for 
jalberti([email protected]<mailto:[email protected]>) as well 
as jalberti([email protected]<mailto:[email protected]>), in both 
cases I was asked to send an email to this mailing list due to "the SPAM 
problem". Maybe rather than waiting for the account to be provided, I can also 
report the actual issue & workaround here for your reference, if you could open 
the issue report and let me know the # number, that would be appreciated, if 
you have any else resolution recommendation I'm happy to revert the changes 
done on our side.

Jenkins 1.522 + Maven plugin 1.522 + GIT+Gerrit on Windows 2008 R2 and Java SE 
7 U21.
When trying to build a maven project you might receive below errors


FATAL: Argument has embedded quote, use the explicit CMD.EXE call.

java.lang.IllegalArgumentException<http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalArgumentException>:
 Argument has embedded quote, use the explicit CMD.EXE call.

        at 
java.lang.ProcessImpl.isQuoted(ProcessImpl.java:231)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessImpl.isQuoted&entity=method>

        at 
java.lang.ProcessImpl.needsEscaping(ProcessImpl.java:245)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessImpl.needsEscaping&entity=method>

        at 
java.lang.ProcessImpl.createCommandLine(ProcessImpl.java:183)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessImpl.createCommandLine&entity=method>

        at 
java.lang.ProcessImpl.<init>(ProcessImpl.java:373)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessImpl.%3Cinit%3E&entity=method>

        at 
java.lang.ProcessImpl.start(ProcessImpl.java:136)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessImpl.start&entity=method>

        at 
java.lang.ProcessBuilder.start(ProcessBuilder.java:1025)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.ProcessBuilder.start&entity=method>

        at 
hudson.Proc$LocalProc.<init>(Proc.java:244)<http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method>

        at 
hudson.Proc$LocalProc.<init>(Proc.java:216)<http://stacktrace.jenkins-ci.org/search/?query=hudson.Proc$LocalProc.%3Cinit%3E&entity=method>

        at 
hudson.Launcher$LocalLauncher.launch(Launcher.java:773)<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$LocalLauncher.launch&entity=method>

        at 
hudson.Launcher$ProcStarter.start(Launcher.java:353)<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.start&entity=method>

        at 
hudson.Launcher$ProcStarter.join(Launcher.java:360)<http://stacktrace.jenkins-ci.org/search/?query=hudson.Launcher$ProcStarter.join&entity=method>

        at 
hudson.tasks.Maven.perform(Maven.java:327)<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.Maven.perform&entity=method>

        at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)<http://stacktrace.jenkins-ci.org/search/?query=hudson.tasks.BuildStepMonitor$1.perform&entity=method>

        at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.perform&entity=method>

        at 
hudson.model.Build$BuildExecution.build(Build.java:199)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.build&entity=method>

        at 
hudson.model.Build$BuildExecution.doRun(Build.java:160)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method>

        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method>

        at 
hudson.model.Run.execute(Run.java:1593)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method>

        at 
hudson.matrix.MatrixRun.run(MatrixRun.java:146)<http://stacktrace.jenkins-ci.org/search/?query=hudson.matrix.MatrixRun.run&entity=method>

        at 
hudson.model.ResourceController.execute(ResourceController.java:88)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method>

        at 
hudson.model.Executor.run(Executor.java:247)<http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method>



followed by below (after above is resolved)


The system cannot find the file specified

FATAL: command execution failed

java.io.IOException<http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>:
 CreateProcess error=2, The system cannot find the file specified

        at java.lang.ProcessImpl.create(Native Method)

        at java.lang.ProcessImpl.<init>(ProcessImpl.java:381)

        at java.lang.ProcessImpl.start(ProcessImpl.java:136)

        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1025)

        at hudson.Proc$LocalProc.<init>(Proc.java:244)

        at hudson.Proc$LocalProc.<init>(Proc.java:216)

        at hudson.Launcher$LocalLauncher.launch(Launcher.java:773)

        at hudson.Launcher$ProcStarter.start(Launcher.java:353)

        at hudson.Launcher$ProcStarter.join(Launcher.java:360)

        at hudson.tasks.Maven.perform(Maven.java:327)

        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)

        at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)

        at hudson.model.Build$BuildExecution.build(Build.java:199)

        at hudson.model.Build$BuildExecution.doRun(Build.java:160)

        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)

        at hudson.model.Run.execute(Run.java:1593)

        at hudson.matrix.MatrixRun.run(MatrixRun.java:146)

        at hudson.model.ResourceController.execute(ResourceController.java:88)

        at hudson.model.Executor.run(Executor.java:247)

See also http://bugs.sun.com/view_bug.do?bug_id=8012453

To work around the issues immediately, the following two changes need to be 
done.


1)      %base%\jenkins.xml

a.       Add -Djdk.lang.Process.allowAmbigousCommands to the <arguments>

2)      In the configuration "Manage Jenkins -> Configure System -> Maven 
Project Configuration"

a.       Add -Djdk.lang.Process.allowAmbigousCommands  to the "Global 
MAVEN_OPTS"

Regards,

Johannes

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to