Issue while Building Jenkins from Source

18 views
Skip to first unread message

Arunkumar A

unread,
Sep 22, 2014, 6:18:27 AM9/22/14
to jenkins...@googlegroups.com

Hi,

    We wanted to rename the BUILD button in Jenkins to  something else .For what we  have downloaded the code and make the necessary changes to the index,jelly file present under jenkins/core/src/main/resources/hudson/model/ParametersDefinitionProperty directory .

 

However we are getting the following error when we are building from source on windows/linux  machine.I am herewith attaching the surefile reports also for your reference .

 

<jenkins.util.xstream.XStreamDOMTest_-Name__That__Gets__Escaped/>

/jenkins.util.xstream.XStreamDOM>

foo>

<bar>

   <test1 key="value">text!</test1>

</bar>

<zot>

   <test2 key="value">

     <test1 key="value">text!</test1>

   </test2>

</zot>

/foo>

foo>

<bar>

   <test1 key="value">text!</test1>

</bar>

<zot>

   <test2 key="value">

     <test1 key="value">text!</test1>

   </test2>

</zot>

/foo>

jenkins.util.xstream.XStreamDOM>

<string-array/>

/jenkins.util.xstream.XStreamDOM>

ests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.191 sec - in j

nkins.util.xstream.XStreamDOMTest

 

esults :

 

ailed tests:

SecretRewriterTest.recursionDetection:100 assert 6==sw.rewriteRecursive(t, st)

 

       | |  |                |  |

       | |  5                |  hudson.util.StreamTaskListener@86ceb6

       | |                   E:\jenkinscode\jenkins\core\target\junit3339323719

20084047\t

       | hudson.util.SecretRewriter@6d4456

       false

 

ests in error:

RunTest.testParseTimestampFromBuildDir:109 InvalidDirectoryName Invalid dire

..

 

ests run: 3294, Failures: 1, Errors: 1, Skipped: 5

 

INFO] ------------------------------------------------------------------------

INFO] Reactor Summary:

INFO]

INFO] Jenkins core ....................................... FAILURE [11:38 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: 11:49 min

INFO] Finished at: 2014-09-22T15:22:48+05:30

INFO] Final Memory: 27M/107M

INFO] ------------------------------------------------------------------------

ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.

6:test (default-test) on project jenkins-core: There are test failures.

ERROR]

ERROR] Please refer to E:\jenkinscode\jenkins\core\target\surefire-reports for

he individual test results.

ERROR] -> [Help 1]

ERROR]

ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit

h.

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 rea

the following articles:

ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc

Ption

surefire-reports.zip

谢飞

unread,
Dec 17, 2014, 10:52:03 PM12/17/14
to jenkins...@googlegroups.com
Hi A,
 I was asked to do modify jenkins UI like you do, and I encountered the same problem last night.
 If you had solved the problem, please tell me how.
 Thanks very much.

在 2014年9月22日星期一UTC+8下午6时18分27秒,Arunkumar A写道:
Reply all
Reply to author
Forward
0 new messages