-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Linux 64bit Debian
-
Powered by SuggestiMate
Jenkins fails to recognize surefire reports of Maven / Tycho based builds.
The tycho plugin generating the reports is:
org.sonatype.tycho:tycho.surefire
The issue was found with newest tycho release version 0.11.0
- foobar_eclipse.zip
- 10 kB
- foobar.zip
- 13 kB
[JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
test/src/main/java/org/jvnet/hudson/test/ExtractResourceSCM.java
test/src/test/java/hudson/maven/Maven3BuildTest.java
http://jenkins-ci.org/commit/jenkins/e4914db591cde0b8619726f1b92dc488ef8bec1d
Log:
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/ebcc79130e142172502dc434cd8e2485962282bc
Log:
changelog entry for JENKINS-9326
Integrated in jenkins_main_trunk #713
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
changelog entry for JENKINS-9326
Olivier Lamy : e4914db591cde0b8619726f1b92dc488ef8bec1d
Files :
- maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
- test/src/test/java/hudson/maven/Maven3BuildTest.java
- test/src/main/java/org/jvnet/hudson/test/ExtractResourceSCM.java
Olivier Lamy : ebcc79130e142172502dc434cd8e2485962282bc
Files :
- changelog.html
sonatype has given their tycho project to eclipse foundation and since latest tycho version 0.12.0 the same issue occurs again. This is due to different naming of tycho plugins
this is a new sample of foobar using latest eclipse tycho version 0.12.0
I just submitted a pull request with the fix https://github.com/jenkinsci/jenkins/pull/131
Code changed in jenkins
User: Olivier Lamy
Path:
maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
http://jenkins-ci.org/commit/jenkins/452479f6219f85178f1da5b009a88dde310cd60a
Log:
Merge pull request #131 from kartben/fixTycho
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/cd48b4ebab0ea3f4cd60642fd0a1765889ef4ee4
Log:
add changelog entry for JENKINS-9326
Integrated in jenkins_main_trunk #814
add changelog entry for JENKINS-9326
Olivier Lamy : cd48b4ebab0ea3f4cd60642fd0a1765889ef4ee4
Files :
- changelog.html
Hi guys,
I am very sorry but yesterday I recognized I have made a mistake while migrating from 0.11 to 0.12.
The maven plugin one has to use within the testcase plugin pom.xml is org.eclipse.tycho:tycho-surefire-plugin.
It changed from 0.11 maven-osgi-test-plugin => tycho-surefire-plugin 0.12
Could you please test again with the new version of foobar_eclipse?
Thanks in advance and mea culpa
Unfortunately the bug has also to be reopened again. See my post before.
Also, I think that the test for this bug causes sporadic Jenkins build errors:
See e.g. http://ci.jenkins-ci.org/job/jenkins_main_trunk/827/console
I've got this error once while building locally, too.
Can we do something against this errors?
Integrated in jenkins_main_trunk #844
JENKINS-9326 add integration tests with eclipse tycho relocation
Olivier Lamy : 5ea48db3d21247c75a019d372c4054e0b1549786
Files :
- test/src/test/java/hudson/maven/Maven3BuildTest.java
- test/src/test/resources/hudson/maven/foobar_eclipse_with_fix.zip
Code changed in jenkins
User: Nigel Magnay
Path:
core/src/main/resources/hudson/tasks/Ant/config.groovy
core/src/main/resources/hudson/tasks/Ant/config.jelly
http://jenkins-ci.org/commit/ant-plugin/e5d7eacae7ba4c67d77f0f615f085384cbb21ec4
Log:
Merge remote branch 'origin/master' into momo
- origin/master: (28 commits)
Need to run install during prepare, or else the release:perform fails miserably.
Enabled more convenient access to the XSTREAM field
added a method to help plugins rename classes and still keep backward compatibility
Rely on released versions
Test files accidentally crept in.
modified to use the type-safe tag lib interface.
Hooking the taglib interface generation.
JENKINS-9326add integration tests with eclipse tycho relocation
experimenting with the taglib interface generator
fixed NPE
Converted a few more pages into Groovy to test the behaviour. Allow global.jelly to be written in Groovy.
Jenkins
auto-completes instance and descriptor
Support global.groovy as well as config.groovy
A few more Jelly files switched to Groovy as a test
Looks like a dead code.
added DSLD for Eclipse
1.166 shipped
not specifying the file extension so that different pieces can be implemented by different view technologies
replaced i18n by '_' since it shows up a lot.
...
Conflicts:
core/src/main/java/hudson/model/Hudson.java
Originally-Committed-As: dbe586ce9260b113caab7ac115a2f8382b88eaa8
Code changed in jenkins
User: Olivier Lamy
Path:
maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
test/src/main/java/org/jvnet/hudson/test/ExtractResourceSCM.java
test/src/test/java/hudson/maven/Maven3BuildTest.java
http://jenkins-ci.org/commit/jenkins/e4914db591cde0b8619726f1b92dc488ef8bec1d
Log:
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/ebcc79130e142172502dc434cd8e2485962282bc
Log:
changelog entry for JENKINS-9326
Code changed in jenkins
User: Olivier Lamy
Path:
maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
http://jenkins-ci.org/commit/jenkins/452479f6219f85178f1da5b009a88dde310cd60a
Log:
Merge pull request #131 from kartben/fixTycho
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/cd48b4ebab0ea3f4cd60642fd0a1765889ef4ee4
Log:
add changelog entry for JENKINS-9326
Code changed in jenkins
User: Olivier Lamy
Path:
test/src/test/java/hudson/maven/Maven3BuildTest.java
test/src/test/resources/hudson/maven/foobar_eclipse_with_fix.zip
http://jenkins-ci.org/commit/jenkins/5ea48db3d21247c75a019d372c4054e0b1549786
Log:
JENKINS-9326 add integration tests with eclipse tycho relocation
Code changed in jenkins
User: Nigel Magnay
Path:
core/pom.xml
core/src/main/java/hudson/ExtensionComponent.java
core/src/main/java/hudson/WebAppMain.java
core/src/main/java/hudson/model/Descriptor.java
core/src/main/java/hudson/model/Hudson.java
core/src/main/java/hudson/model/Items.java
core/src/main/java/hudson/model/Run.java
core/src/main/java/hudson/security/HudsonFilter.java
core/src/main/java/hudson/taglibs/IntelliJ.gdsl
core/src/main/java/hudson/taglibs/LayoutTagLib.java
core/src/main/java/hudson/taglibs/eclipse.dsld
core/src/main/java/hudson/util/XStream2.java
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/resources/hudson/PluginManager/sidepanel.groovy
core/src/main/resources/hudson/PluginManager/sidepanel.jelly
core/src/main/resources/hudson/model/Hudson/manag_.groovy
core/src/main/resources/hudson/tasks/Ant/config.groovy
core/src/main/resources/hudson/tasks/Ant/config.jelly
core/src/main/resources/hudson/tasks/Shell/config.groovy
core/src/main/resources/hudson/tasks/Shell/config.jelly
core/src/main/resources/hudson/tasks/Shell/global.groovy
core/src/main/resources/hudson/tasks/Shell/global.jelly
core/src/main/resources/lib/foo.jelly
core/src/main/resources/lib/form/hetero-list.jelly
core/src/main/resources/lib/taglib
core/src/test/java/hudson/util/XStream2Test.java
maven-plugin/src/main/java/hudson/maven/MavenRedeployer.java
pom.xml
test/src/test/java/hudson/maven/Maven3BuildTest.java
test/src/test/resources/hudson/maven/foobar_eclipse_with_fix.zip
http://jenkins-ci.org/commit/jenkins/dbe586ce9260b113caab7ac115a2f8382b88eaa8
Log:
Merge remote branch 'origin/master' into momo
- origin/master: (28 commits)
Need to run install during prepare, or else the release:perform fails miserably.
Enabled more convenient access to the XSTREAM field
added a method to help plugins rename classes and still keep backward compatibility
Rely on released versions
Test files accidentally crept in.
modified to use the type-safe tag lib interface.
Hooking the taglib interface generation.
JENKINS-9326add integration tests with eclipse tycho relocation
experimenting with the taglib interface generator
fixed NPE
Converted a few more pages into Groovy to test the behaviour. Allow global.jelly to be written in Groovy.
Jenkins
auto-completes instance and descriptor
Support global.groovy as well as config.groovy
A few more Jelly files switched to Groovy as a test
Looks like a dead code.
added DSLD for Eclipse
1.166 shipped
not specifying the file extension so that different pieces can be implemented by different view technologies
replaced i18n by '_' since it shows up a lot.
...
Conflicts:
core/src/main/java/hudson/model/Hudson.java
Code changed in jenkins
User: Olivier Lamy
Path:
maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
test/src/main/java/org/jvnet/hudson/test/ExtractResourceSCM.java
test/src/test/java/hudson/maven/Maven3BuildTest.java
http://jenkins-ci.org/commit/jenkins/e4914db591cde0b8619726f1b92dc488ef8bec1d
Log:
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/ebcc79130e142172502dc434cd8e2485962282bc
Log:
changelog entry for JENKINS-9326
Code changed in jenkins
User: Olivier Lamy
Path:
maven-plugin/src/main/java/hudson/maven/reporters/SurefireArchiver.java
http://jenkins-ci.org/commit/jenkins/452479f6219f85178f1da5b009a88dde310cd60a
Log:
Merge pull request #131 from kartben/fixTycho
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Code changed in jenkins
User: Olivier Lamy
Path:
changelog.html
http://jenkins-ci.org/commit/jenkins/cd48b4ebab0ea3f4cd60642fd0a1765889ef4ee4
Log:
add changelog entry for JENKINS-9326
Code changed in jenkins
User: Olivier Lamy
Path:
test/src/test/java/hudson/maven/Maven3BuildTest.java
test/src/test/resources/hudson/maven/foobar_eclipse_with_fix.zip
http://jenkins-ci.org/commit/jenkins/5ea48db3d21247c75a019d372c4054e0b1549786
Log:
JENKINS-9326 add integration tests with eclipse tycho relocation
Code changed in jenkins
User: Nigel Magnay
Path:
core/pom.xml
core/src/main/java/hudson/ExtensionComponent.java
core/src/main/java/hudson/WebAppMain.java
core/src/main/java/hudson/model/Descriptor.java
core/src/main/java/hudson/model/Hudson.java
core/src/main/java/hudson/model/Items.java
core/src/main/java/hudson/model/Run.java
core/src/main/java/hudson/security/HudsonFilter.java
core/src/main/java/hudson/taglibs/IntelliJ.gdsl
core/src/main/java/hudson/taglibs/LayoutTagLib.java
core/src/main/java/hudson/taglibs/eclipse.dsld
core/src/main/java/hudson/util/XStream2.java
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/resources/hudson/PluginManager/sidepanel.groovy
core/src/main/resources/hudson/PluginManager/sidepanel.jelly
core/src/main/resources/hudson/model/Hudson/manag_.groovy
core/src/main/resources/hudson/tasks/Ant/config.groovy
core/src/main/resources/hudson/tasks/Ant/config.jelly
core/src/main/resources/hudson/tasks/Shell/config.groovy
core/src/main/resources/hudson/tasks/Shell/config.jelly
core/src/main/resources/hudson/tasks/Shell/global.groovy
core/src/main/resources/hudson/tasks/Shell/global.jelly
core/src/main/resources/lib/foo.jelly
core/src/main/resources/lib/form/hetero-list.jelly
core/src/main/resources/lib/taglib
core/src/test/java/hudson/util/XStream2Test.java
maven-plugin/src/main/java/hudson/maven/MavenRedeployer.java
pom.xml
test/src/test/java/hudson/maven/Maven3BuildTest.java
test/src/test/resources/hudson/maven/foobar_eclipse_with_fix.zip
http://jenkins-ci.org/commit/jenkins/dbe586ce9260b113caab7ac115a2f8382b88eaa8
Log:
Merge remote branch 'origin/master' into momo
- origin/master: (28 commits)
Need to run install during prepare, or else the release:perform fails miserably.
Enabled more convenient access to the XSTREAM field
added a method to help plugins rename classes and still keep backward compatibility
Rely on released versions
Test files accidentally crept in.
modified to use the type-safe tag lib interface.
Hooking the taglib interface generation.
JENKINS-9326add integration tests with eclipse tycho relocation
experimenting with the taglib interface generator
fixed NPE
Converted a few more pages into Groovy to test the behaviour. Allow global.jelly to be written in Groovy.
Jenkins
auto-completes instance and descriptor
Support global.groovy as well as config.groovy
A few more Jelly files switched to Groovy as a test
Looks like a dead code.
added DSLD for Eclipse
1.166 shipped
not specifying the file extension so that different pieces can be implemented by different view technologies
replaced i18n by '_' since it shows up a lot.
...
Conflicts:
core/src/main/java/hudson/model/Hudson.java
Code changed in jenkins
User: Olivier Lamy
Path:
src/main/java/hudson/maven/reporters/SurefireArchiver.java
http://jenkins-ci.org/commit/maven-plugin/8f0cad912983b22b927ed5e928dc3231e3a58795
Log:
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Originally-Committed-As: e4914db591cde0b8619726f1b92dc488ef8bec1d
Code changed in jenkins
User: Olivier Lamy
Path:
src/main/java/hudson/maven/reporters/SurefireArchiver.java
http://jenkins-ci.org/commit/maven-plugin/96be2df03bbdde03199caf6e30f3b431d5f15826
Log:
Merge pull request #131 from kartben/fixTycho
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Originally-Committed-As: 452479f6219f85178f1da5b009a88dde310cd60a
Code changed in jenkins
User: Nigel Magnay
Path:
src/main/java/hudson/maven/MavenRedeployer.java
http://jenkins-ci.org/commit/maven-plugin/dde440ca7cbe0bc49a32d47886c92c5b1a099db8
Log:
Merge remote branch 'origin/master' into momo
- origin/master: (28 commits)
Need to run install during prepare, or else the release:perform fails miserably.
Enabled more convenient access to the XSTREAM field
added a method to help plugins rename classes and still keep backward compatibility
Rely on released versions
Test files accidentally crept in.
modified to use the type-safe tag lib interface.
Hooking the taglib interface generation.
JENKINS-9326add integration tests with eclipse tycho relocation
experimenting with the taglib interface generator
fixed NPE
Converted a few more pages into Groovy to test the behaviour. Allow global.jelly to be written in Groovy.
Jenkins
auto-completes instance and descriptor
Support global.groovy as well as config.groovy
A few more Jelly files switched to Groovy as a test
Looks like a dead code.
added DSLD for Eclipse
1.166 shipped
not specifying the file extension so that different pieces can be implemented by different view technologies
replaced i18n by '_' since it shows up a lot.
...
Conflicts:
core/src/main/java/hudson/model/Hudson.java
Originally-Committed-As: dbe586ce9260b113caab7ac115a2f8382b88eaa8
Code changed in jenkins
User: Olivier Lamy
Path:
test/src/main/java/org/jvnet/hudson/test/ExtractResourceSCM.java
http://jenkins-ci.org/commit/jenkins-test-harness/fcad7da3bca3d5138df9ba22ef7c8ab7cb0d1659
Log:
[FIXED JENKINS-9326] Jenkins Maven build does not recognize Tycho surfire reports
Originally-Committed-As: e4914db591cde0b8619726f1b92dc488ef8bec1d
which jenkins version are you using ?
the support of eclipse-plugin has been fixed very recently and will be in 1.407.
see
JENKINS-8348.BTW do you have any simple project I could test ?