This should be feasible. Here is the part of the code that fills in the results: https://github.com/jenkinsci/junit-plugin/blob/master/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java#L172 <https://github.com/jenkinsci/junit-plugin/blob/master/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java#L172>
> Am 25.08.2020 um 18:48 schrieb Michael Carter <[email protected]>: > > Basically I have a bunch of SQL statements in my plugin I was going to write > to a junit xml file then use a junit post step for uploading... but then > thought... Can I some how combine them? > > Is there a method I can call that adds Junit Tests cases, that I can call for > each sql so I can report the "test" as failed/success based on it's execution? > > Or is still the best way to have my command generate an xml file then feed > into the junit command? > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/d2284677-183a-4e52-80da-0a16b07b269en%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/d2284677-183a-4e52-80da-0a16b07b269en%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/301B7278-B410-4C25-A52F-87836F483380%40gmail.com.
