-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Windows7 64bit
Jenkins Master is running on a linux box with current swarm plugin installed. I download the client and started it on my windows maschine.
The build is started with a strange command line argument -Dm3plugin.lib=D:\jenkins-slave\workspace\ci-parent-pom-commit\2.0.3 which points to a non existing directory. This causes the build to fail with an FileNotFoundException.
When i create the directory manually, this build succeeds and the ../2.0.3 directory contains several jar files.
Perhaps it is an misconfiguration by myself - but than it seems to be a documentation bug.
Gestartet durch Benutzer anonymous
Baue auf Slave guido-PC.fritz.box
Checkout:ci-parent-pom-commit / D:\jenkins-slave\workspace\ci-parent-pom-commit - hudson.remoting.Channel@1e5dc39:guido-PC.fritz.box
Using strategy: Default
Last Built Revision: Revision def8521d9df13c1af1dfb77ac67b3b8079e55026 (origin/HEAD, origin/master)
Checkout:ci-parent-pom-commit / D:\jenkins-slave\workspace\ci-parent-pom-commit - hudson.remoting.LocalChannel@5aad1d4
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from git@github.com:MehrCurry/ci-parent-pom.git
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Commencing build of Revision def8521d9df13c1af1dfb77ac67b3b8079e55026 (origin/HEAD, origin/master)
Checking out Revision def8521d9df13c1af1dfb77ac67b3b8079e55026 (origin/HEAD, origin/master)
Warning : There are multiple branch changesets here
Parsing POMs
[ci-parent-pom-commit] $ java -Xmx1024m -Dm3plugin.lib=D:\jenkins-slave\workspace\ci-parent-pom-commit\2.0.3 -cp D:\jenkins-slave\maven3-agent.jar;D:\jenkins-slave\tools\Maven303\boot\plexus-classworlds-2.4.jar org.jvnet.hudson.maven3.agent.Maven3Main D:\jenkins-slave\tools\Maven303 D:\jenkins-slave\swarm-client-1.6-jar-with-dependencies.jar D:\jenkins-slave\maven3-interceptor.jar 64643
Exception in thread "main" java.io.FileNotFoundException: D:\jenkins-slave\workspace\ci-parent-pom-commit\2.0.3
at org.codehaus.plexus.classworlds.launcher.ConfigurationParser.loadGlob(ConfigurationParser.java:336)
at org.codehaus.plexus.classworlds.launcher.ConfigurationParser.parse(ConfigurationParser.java:247)
at org.codehaus.plexus.classworlds.launcher.Configurator.configure(Configurator.java:135)
at org.codehaus.plexus.classworlds.launcher.Launcher.configure(Launcher.java:132)
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:106)
at org.jvnet.hudson.maven3.agent.Maven3Main.main(Maven3Main.java:63)
ERROR: Failed to launch Maven. Exit code = 1
Build step 'Dependency analysis' marked build as failure
Build did not succeed and the project is configured to only push after a successful build, so no pushing will occur.
[ci-game] evaluating rule: Build result
[ci-game] scored: -10.0
[ci-game] evaluating rule: Increased number of failed tests
[ci-game] evaluating rule: Increased number of passed tests
[ci-game] evaluating rule: Decreased number of failed tests
[ci-game] evaluating rule: Decreased number of passed tests
Finished: FAILURE
I would like to add that the project is being build with maven3. When i switch back to maven2 than the offending -Dm3plugin.lib disappears and all works fine.