I have my test runner configured and its generating a trx file, now I want to use the MSTest plugin to read it: https://wiki.jenkins.io/display/JENKINS/MSTest+PluginBut I don't know how to refer to it in a pipeline (Jenkinsfile). Does this plugin support jenkinsfile? Is there a way to use plugins in a jenkinsfile even if they don't support it explicitly?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/beb7b643-6da5-4e72-9771-da860fbb8f34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e360ad0-9334-4cb6-a317-672103b5cc69%40googlegroups.com.
The XUnit plugin has support for MSTest output and is pipeline compatible.
You’d still need to run MSTest from a bat/powershell command but the Xunit plugin will publish the test output.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/75edf196-1d55-4bca-b0df-e0025e837f28%40googlegroups.com.
Is it sufficient to inherit from SimpleBuildStep to enable the pipeline? Should I expose attributes via some kind of decorator?
Where to find the documentation about that?
There's some code that waits for being released. It could be a good opportunity to deliver also the pipeline, if I get to know which changes it involves.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com.
BTW, is there anybody to test a alpha version of the plugin? (With the pipeline enabled?)
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPc4eF8Zyb9A3cikdq83J-TH33_x1ZtPZ7%3D8jbNRz8OqCC%3DAvg%40mail.gmail.com.
Great! Thanks a lot Slide, I'll add the @Symbol this afternoon (and I think that I have implemented the right method yesterday, hooray 😁)
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVeR9G%3DmkxtTogaqoj8yZHmGUW4LOLV2gdH4u4FTO3d4QA%40mail.gmail.com.
The hpi present at the address http://nilleb.com/pub/mstest-0.20-snapshot/
Exposes the mstest plugin to a pipeline (jenkinsfile) with the "mstest" symbol.
I have linted a little a part of the plugin code, as described in the pipeline devguide. I will eventually continue on the next days. The lint doesn't alter the plugin behavior.
For the ones using the xUnit plugin, I have opened a pull request on that plugin repository in order to update the mstest-to-junit XSL (because the one included with that plugin still contained some bugs fixed in 2015).
Many thanks to the testers, if any, and have a good day.
This is great. Just so you are aware, you can release snapshots and they will show up in the experimental plugin site, but then you don't have to host the hpi on your own server, it's available on the jenkins infra. Just make the release version have alpha or beta or something in the version number for the release.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPc4eF9jRCgsgDa9Ft%3Dc8pvw06NPOzBpG7w8wHs4R_Edh8ytSw%40mail.gmail.com.