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

Jenkins does not build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • core
    • OS X 10.10
      Current master branch (2e4fe6a7)
      Maven 3.3.3
      Java 1.8.0_20

      I tried to get started with Jekins development and to build it. I followed
      https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins
      but when running

      mvn -Plight-test install

      the build fails:
      Results :

      Tests in error:
      LauncherTest.remoteKill:68 ยป NumberFormat For input string: ""
      XStream2Test.concurrentHashMapSerialization:302 NullPointer

      Tests run: 3408, Failures: 0, Errors: 2, Skipped: 3

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Jenkins main module ................................ SUCCESS [ 56.906 s]
      [INFO] Jenkins cli ........................................ SUCCESS [ 43.173 s]
      [INFO] Jenkins core ....................................... FAILURE [02:10 min]
      [INFO] Jenkins war ........................................ SKIPPED
      [INFO] Test harness for Jenkins and plugins ............... SKIPPED
      [INFO] Jenkins plugin POM ................................. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 05:43 min
      [INFO] Finished at: 2015-06-30T17:01:28+02:00
      [INFO] Final Memory: 51M/615M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on project jenkins-core: There are test failures.
      [ERROR]
      [ERROR] Please refer to /Users/wagnerst/Things Folders/Jenkins/jenkins/core/target/surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :jenkins-core

      Anyone has any ideas on that?

            Unassigned Unassigned
            wagnerst Stefan Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: