Hi,

may be i misunderstand your question but the command is executed in Jenkins workspace...

?

Kind regards
Karl Heinz Marbaise
On 11/6/15 11:45 PM, Jirong Hu wrote:
As you can see the error below, mvn command is executed in the Maven 
installation path, but I specify the project as custom workspace 
inC:\OTPPB2015\Workspace\Maven\simple. Just want to do a simple demo so
it's not in any source control system. How can I let Jenkins execute the
mvn command inside the workspace?



Building on master in workspace C:\OTPPB2015\Workspace\Maven\simple
[simple] $ cmd.exe /C '"C:\Tools\apache-maven-3.3.3\bin\mvn.cmd deploy && exit 
%%ERRORLEVEL%%"'
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.075 s
[INFO] Finished at: 2015-11-06T17:30:18-05:00
[INFO] Final Memory: 5M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there
is no POM in this directory (C:\OTPPB2015\Workspace\Maven\simple).

--
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/563DEC52.3000805%40gmx.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to