Description
The problem happens for Maven and Ant.
'-Djava.io.tmpdir="C:\Documents and Settings\Packages\Local Settings\Temp\ABC-TRUNK-JOB1"'
Maven
28-Mar-2011 13:57:16 Starting to build 'Plan1 - trunk - Default Job' ... running command line: cmd.exe /c call "C:\Program Files\maven-2.0.9\bin\mvn.bat" '-Djava.io.tmpdir="C:\Documents and Settings\Packages\Local Settings\Temp\ABC-TRUNK-JOB1"' clean package -Denvironment=bamboo -Dbuild.number=715 -Djava.io.tmpdir=d:\bamboo\build-dir\ABC-TRUNK-JOB1 -DDeployDir=\\sacfs1\Data\Apps\deploy\path\project ... in : D:\bamboo\build-dir\ABC-TRUNK-JOB1 ... using java.home: C:\Program Files\Java\jdk1.6.0_13 28-Mar-2011 13:57:16 Substituting variable: ${bamboo.buildNumber} with 715 28-Mar-2011 13:57:16 [INFO] Scanning for projects... 28-Mar-2011 13:57:16 [INFO] ------------------------------------------------------------------------ 28-Mar-2011 13:57:16 [ERROR] BUILD FAILURE 28-Mar-2011 13:57:16 [INFO] ------------------------------------------------------------------------ 28-Mar-2011 13:57:16 [INFO] Invalid task 'and': you must specify a valid lifecycle phase, or a goal in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal 28-Mar-2011 13:57:16 [INFO] ------------------------------------------------------------------------ 28-Mar-2011 13:57:16 [INFO] For more information, run Maven with the -e switch 28-Mar-2011 13:57:16 [INFO] ------------------------------------------------------------------------ 28-Mar-2011 13:57:16 [INFO] Total time: < 1 second 28-Mar-2011 13:57:16 [INFO] Finished at: Mon Mar 28 13:57:16 EDT 2011 28-Mar-2011 13:57:16 [INFO] Final Memory: 1M/4M 28-Mar-2011 13:57:16 [INFO] ------------------------------------------------------------------------
Ant:
[PrepareBuildTask] Running pre-build action: Clover Grails PreBuild Action [DefaultBuildAgent] Running build task: com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask [Command] Isolated Temporary Directory Ant Command Line Decorator is decorating the command line: [/c, call, C:\Programme\apache-ant-1.7.0\bin\ant.bat, -f, build-setup.xml, drop, fetch] [Command] Decorated command line is: [/c, call, C:\Programme\apache-ant-1.7.0\bin\ant.bat, -Djava.io.tmpdir="C:\Documents and Settings\h7da53a\Local Settings\Temp\ABC-OFFLINE", -f, build-setup.xml, drop, fetch] [AbstractBuilder] Starting to build 'ABC - Plan1-Offline'<br /> ... running command line: cmd.exe /c call C:\Programme\apache-ant-1.7.0\bin\ant.bat '-Djava.io.tmpdir="C:\Documents and Settings\h7da53a\Local Settings\Temp\ABC-OFFLINE"' -f build-setup.xml drop fetch<br /> ... in : D:\bamboo\xml-data\build-dir\ABC-OFFLINE\path\bootstrap<br /> ... using java.home: C:\Programme\ibm-jdk1.5.0<br /> ... using extra environment variables: ECLIPSE_HOME=D:/_builds/eclipse3.3.2 [Command] Isolated Temporary Directory Ant Command Line Decorator is decorating the command line: [/c, call, C:\Programme\apache-ant-1.7.0\bin\ant.bat, -f, build-setup.xml, drop, fetch] [Command] Decorated command line is: [/c, call, C:\Programme\apache-ant-1.7.0\bin\ant.bat, -Djava.io.tmpdir="C:\Documents and Settings\h7da53a\Local Settings\Temp\ABC-OFFLINE", -f, build-setup.xml, drop, fetch] BUILD FAILED Target "and" does not exist in the project "build-setup". Total time: 0 seconds [AbstractBuilder] Build process for 'ABC - Plan1-Offline' returned with return code = 1 [ExecuteBuildTask] Running post build plugin 'Artifact Copier'