Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19338

Cannot archive artifacts using Maven 3.1.0 on Windows slave

XMLWordPrintable

      Testing with a Linux master and Windows XP JNLP slave, I created a job based on https://svn.jenkins-ci.org/trunk/hudson/test-projects/trivial-maven using JDK 7 and Maven 3.1.0. It consistently fails for no visible reason:

      Started by user anonymous
      Building remotely on remote in workspace c:\...fsroot...\workspace\job-name
      Updating https://svn.jenkins-ci.org/trunk/hudson/test-projects/trivial-maven at revision '2013-08-23T17:27:19.528 -0400'
      At revision 40978
      no change for https://svn.jenkins-ci.org/trunk/hudson/test-projects/trivial-maven since the previous build
      Parsing POMs
      [job-name] $ "c:\Program Files\Java\jdk1.7.0_17/bin/java" -cp c:\...fsroot...\maven31-agent.jar;e:\space\maven\boot\plexus-classworlds-2.4.2.jar;e:\space\maven/conf/logging jenkins.maven3.agent.Maven31Main e:\space\maven "C:\Documents and Settings\...\Local Settings\Application Data\Sun\Java\Deployment\cache\6.0\5\..." c:\...fsroot...\maven31-interceptor.jar c:\...fsroot...\maven3-interceptor-commons.jar 1110
      <===[JENKINS REMOTING CAPACITY]===>channel started
      log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
      log4j:WARN Please initialize the log4j system properly.
      Executing Maven:  -B -f c:\...fsroot...\workspace\job-name\pom.xml -X
      Apache Maven 3.1.0 (893ca28a1da9d5f51ac03827af98bb730128f9f2; 2013-06-27 22:15:32-0400)
      Maven home: E:\space\maven
      Java version: 1.7.0_17, vendor: Oracle Corporation
      Java home: c:\Program Files\Java\jdk1.7.0_17\jre
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows xp", version: "5.1", arch: "x86", family: "windows"
      [INFO] Error stacktraces are turned on.
      [DEBUG] Reading global settings from E:\space\maven\conf\settings.xml
      [DEBUG] Reading user settings from C:\Documents and Settings\...\.m2\settings.xml
      [INFO] Scanning for projects...
      [INFO] Scanning for projects...
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 0.952s
      [INFO] Finished at: Fri Aug 23 17:28:47 EDT 2013
      [INFO] Final Memory: 5M/15M
      [INFO] ------------------------------------------------------------------------
      [JENKINS] Archiving c:\...fsroot...\workspace\job-name\pom.xml to /...JENKINS_HOME.../jobs/job-name/modules/test$test/builds/2013-08-23_17-28-34/archive/test/test/1.0-SNAPSHOT/test-1.0-SNAPSHOT.pom
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 14.601s
      [INFO] Finished at: Fri Aug 23 17:29:00 EDT 2013
      [INFO] Final Memory: 4M/15M
      [INFO] ------------------------------------------------------------------------
      channel stopped
      Finished: FAILURE
      

      All other combinations work fine: Maven 2.2.1 and 3.0 on the same slave; 3.1.0 on a Linux slave. Adding -X produces no more information, nor is there anything helpful in the Jenkins log.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: