Community
Participate
Working Groups
In 3.0.0M1 bug 357679 resurfaced which was fixed as part of http://issues.hudson-ci.org/browse/HUDSON-9002. The XML produced by Hudson is not valid, e.g. http://mylyn.org/hudson-3.0/job/test-git/6/api/xml: <freeStyleBuild><action><cause><shortDescription>Started by user anonymous</shortDescription><userName>anonymous</userName></cause></action><action><buildsByBranchName><origin/master><buildNumber>6</buildNumber><revision><SHA1>7f940740be763e8a185ecebc06e71e19f87698e6</SHA1><branch><SHA1>7f940740be763e8a185ecebc06e71e19f87698e6</SHA1><name>origin/master</name></branch></revision></origin/master> ... Notice the <origin/master> tag where the slash is not escaped properly.
Winston, do you have any pointers where we could start looking to get this fixed?
Steffen, In order to fix this issue in Hudson 2.1.2 we switched to Stapler version later that 1.155. In Hudson 3.0.0-M1 we switched back to Stapler version 1.155 due to some IP issues. I found the changes associated with fixing this issue. If you show me an example how to create a Hudson job that has this issue, then I can verify my fix and check in the code.
It should be reproducible with any job that is triggered by a Git commit. I saw this with the job from the EclipseCon Hudson tutorial for instance. If you have a war then I can easily deploy that to our test server to verify the fix, too.
Steffan, Could you test this one? https://hudson.eclipse.org/hudson/view/Hudson/job/hudson-core/lastSuccessfulBuild/artifact/hudson-war/target/hudson-war-3.0.0-SNAPSHOT.war
This looks good! http://mylyn.org/hudson-3.0/job/test-git/6/api/xml now produces proper XML and the Mylyn tests are passing. Thanks!
Fixed in M2