Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Junitreport failed jenkins build doesn't generate report(Failed junitreport doesnt generate until next build is successful)
Junitreport failed jenkins build doesn't generate report [message #1847065] Wed, 13 October 2021 08:21 Go to next message
Eclipse UserFriend
I'm using jenkins ant to generate a html report via the build.xml

<property name="report.dir" value="test\reports" />
<target name="generateReport">
<junitreport todir="${report.dir}">
  <fileset dir="${report.dir}">
    <include name="*.xml" />
  </fileset>`
  <report format="frames" styledir="C:\program files (x86)\apache-ant-1.9.16\etc" todir="./report/html" />
 </junitreport>
 </target>
</project>


If the jenkins build is successful it will generate a html report immediately but if failed it will not, the failed report will only get generated if the next build is successful. I wonder if there is any solution to solve this?

Thanks
Re: Junitreport failed jenkins build doesn't generate report [message #1847071 is a reply to message #1847065] Wed, 13 October 2021 11:31 Go to previous message
Eclipse UserFriend
Probably the ant report generator is not triggered due to some configuration of Jenkins, e.g. to stop processing scripts on failure. However, this cannot be analyzed from your current input. Moreover, I don't think that this is the best forum to ask this question, it is not specific to Eclipse Platform it is related to Jenkins and/or ant. You better use the Jenkins or ant support channels.
Previous Topic:Documentation of latest Eclipse release
Next Topic:Eclipse IDE hangs in Download sources and associate classpath loop
Goto Forum:
  


Current Time: Thu Mar 20 05:30:22 EDT 2025

Powered by FUDForum. Page generated in 0.03525 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top