Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-8378

Single quotes added to java.io.tmpdir parameter makes build fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Low
    • 3.1 M4, 3.1
    • 2.6, 3.0
    • None
    • None

    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'
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rbattaglin Renan Battaglin
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: