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

Jenkins does not build

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        Activity

          danielbeck Daniel Beck added a comment -

          This is an issue tracker, not a support site. For assistance, contact the jenkinsci-dev mailing list, or ask in #jenkins on Freenode.

          Make sure you didn't change anything in the code (i.e. git status mentions no modified files). mvn clean could also help.

          danielbeck Daniel Beck added a comment - This is an issue tracker, not a support site. For assistance, contact the jenkinsci-dev mailing list, or ask in #jenkins on Freenode. Make sure you didn't change anything in the code (i.e. git status mentions no modified files). mvn clean could also help.

          People

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

            Dates

              Created:
              Updated:
              Resolved: