Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
> On 20. Aug 2017, at 21:45, Slide wrote: > > Just so you are aware, you can release snapshots and they will show up in the > experimental plugin site To clarify, these aren't snapshots, just releases with a magic version number (containing 'alpha' or 'beta'). -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/72B29389-5A5E-4589-8564-6108DB12CDF1%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
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. On Sun, Aug 20, 2017, 10:11 Ivo Bellin Salarin wrote: > 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. > > On dim. 20 ao没t 2017 脿 10:38 Ivo Bellin Salarin < > ivo.bellinsala...@gmail.com> wrote: > >> Great! Thanks a lot Slide, I'll add the @Symbol this afternoon (and I >> think that I have implemented the right method yesterday, hooray 馃榿) >> >> Le sam. 19 ao没t 2017 脿 20:21, Slide a 茅crit : >> >>> SimpleBuildStep is one part, you'll want to change your perform method >>> to override the one that takes a Run, FilePath, TaskListener and >>> Launcher (note, this overload does NOT return a true/false for build >>> result, you need to set the result on the Run object using setResult). You >>> don't need to override both, you can just override the one that I mention >>> and it will work for both pipeline and freestyle. You'll also want to add >>> an @Symbol annotation to your descriptor so that people can use a shorthand >>> when using mstest from pipeline. I'd recommend something like >>> @Symbol("mstest"). You may need to add a dependency on the structs plugin >>> for the @Symbol to be available. >>> >>> On Sat, Aug 19, 2017 at 6:32 AM Ivo Bellin Salarin < >>> ivo.bellinsala...@gmail.com> wrote: >>> >>>> Please accept this as the changelog of the current test binary :-) >>>> - this version completely disables the emma coverage report... >>>> - ...keeping the transformation steps which convert the MS coverage >>>> reports into emma-compatible coverage reports. >>>> - and tries to expose the MsTestPublisher as a SimpleBuildStep (in >>>> order to use it from pipeline workflows) >>>> >>>> >>>> Le sam. 19 ao没t 2017 脿 15:25, Ivo Bellin Salarin < >>>> ivo.bellinsala...@gmail.com> a 茅crit : >>>> >>>>> If anyone tests the plugin present on this website: >>>>> http://nilleb.com/pub/mstest-0.20-snapshot/ >>>>> Following the instructions present on >>>>> https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-Deployingacustombuildofacoreplugin >>>>> I will release it the next friday. >>>>> >>>>> Have a good day, >>>>> Ivo >>>>> >>>>> Le sam. 19 ao没t 2017 脿 12:27, Ivo Bellin Salarin < >>>>> ivo.bellinsala...@gmail.com> a 茅crit : >>>>> >>>>>> BTW, is there anybody to test a alpha version of the plugin? (With >>>>>> the pipeline enabled?) >>>>>> >>>>>> Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < >>>>>> ivo.bellinsala...@gmail.com> a 茅crit : >>>>>> >>>>>>> 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. >>>>>>> >>>>>>> Le ven. 18 ao没t 2017 脿 03:49, red 888 a >>>>>>> 茅crit : >>>>>>> >>>>>>>> Yes the xunit plugin is great! thats what I'm using now. As you say >>>>>>>> I still use an MS test runner exe which generates a trx and then point >>>>>>>> the
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
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. On dim. 20 ao没t 2017 脿 10:38 Ivo Bellin Salarin wrote: > Great! Thanks a lot Slide, I'll add the @Symbol this afternoon (and I > think that I have implemented the right method yesterday, hooray 馃榿) > > Le sam. 19 ao没t 2017 脿 20:21, Slide a 茅crit : > >> SimpleBuildStep is one part, you'll want to change your perform method to >> override the one that takes a Run, FilePath, TaskListener and Launcher >> (note, this overload does NOT return a true/false for build result, you >> need to set the result on the Run object using setResult). You don't need >> to override both, you can just override the one that I mention and it will >> work for both pipeline and freestyle. You'll also want to add an @Symbol >> annotation to your descriptor so that people can use a shorthand when using >> mstest from pipeline. I'd recommend something like @Symbol("mstest"). You >> may need to add a dependency on the structs plugin for the @Symbol to be >> available. >> >> On Sat, Aug 19, 2017 at 6:32 AM Ivo Bellin Salarin < >> ivo.bellinsala...@gmail.com> wrote: >> >>> Please accept this as the changelog of the current test binary :-) >>> - this version completely disables the emma coverage report... >>> - ...keeping the transformation steps which convert the MS coverage >>> reports into emma-compatible coverage reports. >>> - and tries to expose the MsTestPublisher as a SimpleBuildStep (in order >>> to use it from pipeline workflows) >>> >>> >>> Le sam. 19 ao没t 2017 脿 15:25, Ivo Bellin Salarin < >>> ivo.bellinsala...@gmail.com> a 茅crit : >>> >>>> If anyone tests the plugin present on this website: >>>> http://nilleb.com/pub/mstest-0.20-snapshot/ >>>> Following the instructions present on >>>> https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-Deployingacustombuildofacoreplugin >>>> I will release it the next friday. >>>> >>>> Have a good day, >>>> Ivo >>>> >>>> Le sam. 19 ao没t 2017 脿 12:27, Ivo Bellin Salarin < >>>> ivo.bellinsala...@gmail.com> a 茅crit : >>>> >>>>> BTW, is there anybody to test a alpha version of the plugin? (With the >>>>> pipeline enabled?) >>>>> >>>>> Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < >>>>> ivo.bellinsala...@gmail.com> a 茅crit : >>>>> >>>>>> 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. >>>>>> >>>>>> Le ven. 18 ao没t 2017 脿 03:49, red 888 a >>>>>> 茅crit : >>>>>> >>>>>>> Yes the xunit plugin is great! thats what I'm using now. As you say >>>>>>> I still use an MS test runner exe which generates a trx and then point >>>>>>> the >>>>>>> xunit plugin to that report and it does everything else. >>>>>>> >>>>>>> >>>>>>> On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler >>>>>>> wrote: >>>>>>> >>>>>>>> The XUnit plugin has support for MSTest output and is pipeline >>>>>>>> compatible. >>>>>>>> >>>>>>>> You鈥檇 still need to run MSTest from a bat/powershell command but >>>>>>>> the Xunit plugin will publish the test output. >>>>>>>> >>>>>>>> >>>>
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
Great! Thanks a lot Slide, I'll add the @Symbol this afternoon (and I think that I have implemented the right method yesterday, hooray 馃榿) Le sam. 19 ao没t 2017 脿 20:21, Slide a 茅crit : > SimpleBuildStep is one part, you'll want to change your perform method to > override the one that takes a Run, FilePath, TaskListener and Launcher > (note, this overload does NOT return a true/false for build result, you > need to set the result on the Run object using setResult). You don't need > to override both, you can just override the one that I mention and it will > work for both pipeline and freestyle. You'll also want to add an @Symbol > annotation to your descriptor so that people can use a shorthand when using > mstest from pipeline. I'd recommend something like @Symbol("mstest"). You > may need to add a dependency on the structs plugin for the @Symbol to be > available. > > On Sat, Aug 19, 2017 at 6:32 AM Ivo Bellin Salarin < > ivo.bellinsala...@gmail.com> wrote: > >> Please accept this as the changelog of the current test binary :-) >> - this version completely disables the emma coverage report... >> - ...keeping the transformation steps which convert the MS coverage >> reports into emma-compatible coverage reports. >> - and tries to expose the MsTestPublisher as a SimpleBuildStep (in order >> to use it from pipeline workflows) >> >> >> Le sam. 19 ao没t 2017 脿 15:25, Ivo Bellin Salarin < >> ivo.bellinsala...@gmail.com> a 茅crit : >> >>> If anyone tests the plugin present on this website: >>> http://nilleb.com/pub/mstest-0.20-snapshot/ >>> Following the instructions present on >>> https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-Deployingacustombuildofacoreplugin >>> I will release it the next friday. >>> >>> Have a good day, >>> Ivo >>> >>> Le sam. 19 ao没t 2017 脿 12:27, Ivo Bellin Salarin < >>> ivo.bellinsala...@gmail.com> a 茅crit : >>> >>>> BTW, is there anybody to test a alpha version of the plugin? (With the >>>> pipeline enabled?) >>>> >>>> Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < >>>> ivo.bellinsala...@gmail.com> a 茅crit : >>>> >>>>> 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. >>>>> >>>>> Le ven. 18 ao没t 2017 脿 03:49, red 888 a >>>>> 茅crit : >>>>> >>>>>> Yes the xunit plugin is great! thats what I'm using now. As you say I >>>>>> still use an MS test runner exe which generates a trx and then point the >>>>>> xunit plugin to that report and it does everything else. >>>>>> >>>>>> >>>>>> On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler >>>>>> wrote: >>>>>> >>>>>>> The XUnit plugin has support for MSTest output and is pipeline >>>>>>> compatible. >>>>>>> >>>>>>> You鈥檇 still need to run MSTest from a bat/powershell command but the >>>>>>> Xunit plugin will publish the test output. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> *From: *jer...@bodycad.com >>>>>>> >>>>>> >>>>>>> *Sent: *16 August 2017 13:24 >>>>>>> *To: *Jenkins Users >>>>>>> *Subject: *Re: Does anyone know if the MSTest plugin supports >>>>>>> pipelines and howto use it in a pipeline (jenkinsfile)? >>>>>>> >>>>>> >>>>>>> >>>>>>> Sadly no, many puglin are still incompatible, you can see the >>>>>>> compatibility list here: >>>>>>> >>>>>>> >>>>>>> https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md >>>>>>> >>>>>>> >>>>>>> >>>>>>> Since the .trx is just an xml file, you could try to do an .xslt >
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
SimpleBuildStep is one part, you'll want to change your perform method to override the one that takes a Run, FilePath, TaskListener and Launcher (note, this overload does NOT return a true/false for build result, you need to set the result on the Run object using setResult). You don't need to override both, you can just override the one that I mention and it will work for both pipeline and freestyle. You'll also want to add an @Symbol annotation to your descriptor so that people can use a shorthand when using mstest from pipeline. I'd recommend something like @Symbol("mstest"). You may need to add a dependency on the structs plugin for the @Symbol to be available. On Sat, Aug 19, 2017 at 6:32 AM Ivo Bellin Salarin < ivo.bellinsala...@gmail.com> wrote: > Please accept this as the changelog of the current test binary :-) > - this version completely disables the emma coverage report... > - ...keeping the transformation steps which convert the MS coverage > reports into emma-compatible coverage reports. > - and tries to expose the MsTestPublisher as a SimpleBuildStep (in order > to use it from pipeline workflows) > > > Le sam. 19 ao没t 2017 脿 15:25, Ivo Bellin Salarin < > ivo.bellinsala...@gmail.com> a 茅crit : > >> If anyone tests the plugin present on this website: >> http://nilleb.com/pub/mstest-0.20-snapshot/ >> Following the instructions present on >> https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-Deployingacustombuildofacoreplugin >> I will release it the next friday. >> >> Have a good day, >> Ivo >> >> Le sam. 19 ao没t 2017 脿 12:27, Ivo Bellin Salarin < >> ivo.bellinsala...@gmail.com> a 茅crit : >> >>> BTW, is there anybody to test a alpha version of the plugin? (With the >>> pipeline enabled?) >>> >>> Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < >>> ivo.bellinsala...@gmail.com> a 茅crit : >>> >>>> 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. >>>> >>>> Le ven. 18 ao没t 2017 脿 03:49, red 888 a >>>> 茅crit : >>>> >>>>> Yes the xunit plugin is great! thats what I'm using now. As you say I >>>>> still use an MS test runner exe which generates a trx and then point the >>>>> xunit plugin to that report and it does everything else. >>>>> >>>>> >>>>> On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler wrote: >>>>> >>>>>> The XUnit plugin has support for MSTest output and is pipeline >>>>>> compatible. >>>>>> >>>>>> You鈥檇 still need to run MSTest from a bat/powershell command but the >>>>>> Xunit plugin will publish the test output. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> *From: *jer...@bodycad.com >>>>>> >>>>> >>>>>> *Sent: *16 August 2017 13:24 >>>>>> *To: *Jenkins Users >>>>>> *Subject: *Re: Does anyone know if the MSTest plugin supports >>>>>> pipelines and howto use it in a pipeline (jenkinsfile)? >>>>>> >>>>> >>>>>> >>>>>> Sadly no, many puglin are still incompatible, you can see the >>>>>> compatibility list here: >>>>>> >>>>>> >>>>>> https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md >>>>>> >>>>>> >>>>>> >>>>>> Since the .trx is just an xml file, you could try to do an .xslt file >>>>>> that do the convertion to junit .xml. Maybe someone already did it >>>>>> somewhere, worth googling, I known some people have done .trx to .html >>>>>> graph (which you could use and publish the html results too). >>>>>> >>>>> -- >>>>>> 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 >>>>
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
Please accept this as the changelog of the current test binary :-) - this version completely disables the emma coverage report... - ...keeping the transformation steps which convert the MS coverage reports into emma-compatible coverage reports. - and tries to expose the MsTestPublisher as a SimpleBuildStep (in order to use it from pipeline workflows) Le sam. 19 ao没t 2017 脿 15:25, Ivo Bellin Salarin < ivo.bellinsala...@gmail.com> a 茅crit : > If anyone tests the plugin present on this website: > http://nilleb.com/pub/mstest-0.20-snapshot/ > Following the instructions present on > https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-Deployingacustombuildofacoreplugin > I will release it the next friday. > > Have a good day, > Ivo > > Le sam. 19 ao没t 2017 脿 12:27, Ivo Bellin Salarin < > ivo.bellinsala...@gmail.com> a 茅crit : > >> BTW, is there anybody to test a alpha version of the plugin? (With the >> pipeline enabled?) >> >> Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < >> ivo.bellinsala...@gmail.com> a 茅crit : >> >>> 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. >>> >>> Le ven. 18 ao没t 2017 脿 03:49, red 888 a >>> 茅crit : >>> >>>> Yes the xunit plugin is great! thats what I'm using now. As you say I >>>> still use an MS test runner exe which generates a trx and then point the >>>> xunit plugin to that report and it does everything else. >>>> >>>> >>>> On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler wrote: >>>> >>>>> The XUnit plugin has support for MSTest output and is pipeline >>>>> compatible. >>>>> >>>>> You鈥檇 still need to run MSTest from a bat/powershell command but the >>>>> Xunit plugin will publish the test output. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> *From: *jer...@bodycad.com >>>>> >>>> >>>>> *Sent: *16 August 2017 13:24 >>>>> *To: *Jenkins Users >>>>> *Subject: *Re: Does anyone know if the MSTest plugin supports >>>>> pipelines and howto use it in a pipeline (jenkinsfile)? >>>>> >>>> >>>>> >>>>> Sadly no, many puglin are still incompatible, you can see the >>>>> compatibility list here: >>>>> >>>>> >>>>> https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md >>>>> >>>>> >>>>> >>>>> Since the .trx is just an xml file, you could try to do an .xslt file >>>>> that do the convertion to junit .xml. Maybe someone already did it >>>>> somewhere, worth googling, I known some people have done .trx to .html >>>>> graph (which you could use and publish the html results too). >>>>> >>>> -- >>>>> 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 >>>>> <https://groups.google.com/d/msgid/jenkinsci-users/75edf196-1d55-4bca-b0df-e0025e837f28%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> 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-users+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com >>>> <https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPc4eF8Zyb9A3cikdq83J-TH33_x1ZtPZ7%3D8jbNRz8OqCC%3DAvg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
If anyone tests the plugin present on this website: http://nilleb.com/pub/mstest-0.20-snapshot/ Following the instructions present on https://wiki.jenkins.io/display/JENKINS/Plugin+tutorial#Plugintutorial-Deployingacustombuildofacoreplugin I will release it the next friday. Have a good day, Ivo Le sam. 19 ao没t 2017 脿 12:27, Ivo Bellin Salarin < ivo.bellinsala...@gmail.com> a 茅crit : > BTW, is there anybody to test a alpha version of the plugin? (With the > pipeline enabled?) > > Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < > ivo.bellinsala...@gmail.com> a 茅crit : > >> 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. >> >> Le ven. 18 ao没t 2017 脿 03:49, red 888 a >> 茅crit : >> >>> Yes the xunit plugin is great! thats what I'm using now. As you say I >>> still use an MS test runner exe which generates a trx and then point the >>> xunit plugin to that report and it does everything else. >>> >>> >>> On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler wrote: >>> >>>> The XUnit plugin has support for MSTest output and is pipeline >>>> compatible. >>>> >>>> You鈥檇 still need to run MSTest from a bat/powershell command but the >>>> Xunit plugin will publish the test output. >>>> >>>> >>>> >>>> >>>> >>> *From: *jer...@bodycad.com >>>> >>> >>>> *Sent: *16 August 2017 13:24 >>>> *To: *Jenkins Users >>>> *Subject: *Re: Does anyone know if the MSTest plugin supports >>>> pipelines and howto use it in a pipeline (jenkinsfile)? >>>> >>> >>>> >>>> Sadly no, many puglin are still incompatible, you can see the >>>> compatibility list here: >>>> >>>> >>>> https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md >>>> >>>> >>>> >>>> Since the .trx is just an xml file, you could try to do an .xslt file >>>> that do the convertion to junit .xml. Maybe someone already did it >>>> somewhere, worth googling, I known some people have done .trx to .html >>>> graph (which you could use and publish the html results too). >>>> >>> -- >>>> 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 >>>> <https://groups.google.com/d/msgid/jenkinsci-users/75edf196-1d55-4bca-b0df-e0025e837f28%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> 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-users+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com >>> <https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPc4eF_LFQaAu1w-9fbM8DAYr-wrMzEwV2G18JMJzM1C-5DFAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
BTW, is there anybody to test a alpha version of the plugin? (With the pipeline enabled?) Le sam. 19 ao没t 2017 脿 12:20, Ivo Bellin Salarin < ivo.bellinsala...@gmail.com> a 茅crit : > 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. > > Le ven. 18 ao没t 2017 脿 03:49, red 888 a 茅crit : > >> Yes the xunit plugin is great! thats what I'm using now. As you say I >> still use an MS test runner exe which generates a trx and then point the >> xunit plugin to that report and it does everything else. >> >> >> On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler wrote: >> >>> The XUnit plugin has support for MSTest output and is pipeline >>> compatible. >>> >>> You鈥檇 still need to run MSTest from a bat/powershell command but the >>> Xunit plugin will publish the test output. >>> >>> >>> >>> >>> >> *From: *jer...@bodycad.com >>> >> >>> *Sent: *16 August 2017 13:24 >>> *To: *Jenkins Users >>> *Subject: *Re: Does anyone know if the MSTest plugin supports pipelines >>> and howto use it in a pipeline (jenkinsfile)? >>> >> >>> >>> Sadly no, many puglin are still incompatible, you can see the >>> compatibility list here: >>> >>> https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md >>> >>> >>> >>> Since the .trx is just an xml file, you could try to do an .xslt file >>> that do the convertion to junit .xml. Maybe someone already did it >>> somewhere, worth googling, I known some people have done .trx to .html >>> graph (which you could use and publish the html results too). >>> >> -- >>> 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 >>> <https://groups.google.com/d/msgid/jenkinsci-users/75edf196-1d55-4bca-b0df-e0025e837f28%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> 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-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com >> <https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPc4eF-Sz5KHLnDnF2M036fbH5xcYR3hOCPbD8jwTxo3zzpCiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
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. Le ven. 18 ao没t 2017 脿 03:49, red 888 a 茅crit : > Yes the xunit plugin is great! thats what I'm using now. As you say I > still use an MS test runner exe which generates a trx and then point the > xunit plugin to that report and it does everything else. > > > On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler wrote: > >> The XUnit plugin has support for MSTest output and is pipeline compatible. >> >> You鈥檇 still need to run MSTest from a bat/powershell command but the >> Xunit plugin will publish the test output. >> >> >> >> >> > *From: *jer...@bodycad.com >> > >> *Sent: *16 August 2017 13:24 >> *To: *Jenkins Users >> *Subject: *Re: Does anyone know if the MSTest plugin supports pipelines >> and howto use it in a pipeline (jenkinsfile)? >> > >> >> Sadly no, many puglin are still incompatible, you can see the >> compatibility list here: >> >> https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md >> >> >> >> Since the .trx is just an xml file, you could try to do an .xslt file >> that do the convertion to junit .xml. Maybe someone already did it >> somewhere, worth googling, I known some people have done .trx to .html >> graph (which you could use and publish the html results too). >> > -- >> 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 >> <https://groups.google.com/d/msgid/jenkinsci-users/75edf196-1d55-4bca-b0df-e0025e837f28%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAPc4eF-_UauHND%3DOu9EU6cUNsGr-RoNufj%2BR1mwW%2Bwnc8M9srw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
Yes the xunit plugin is great! thats what I'm using now. As you say I still use an MS test runner exe which generates a trx and then point the xunit plugin to that report and it does everything else. On Wednesday, August 16, 2017 at 8:31:39 AM UTC-4, Daniel Butler wrote: > > The XUnit plugin has support for MSTest output and is pipeline compatible. > > You鈥檇 still need to run MSTest from a bat/powershell command but the Xunit > plugin will publish the test output. > > > > > > *From: *jer...@bodycad.com > *Sent: *16 August 2017 13:24 > *To: *Jenkins Users > *Subject: *Re: Does anyone know if the MSTest plugin supports pipelines > and howto use it in a pipeline (jenkinsfile)? > > > > Sadly no, many puglin are still incompatible, you can see the > compatibility list here: > > https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md > > > > Since the .trx is just an xml file, you could try to do an .xslt file that > do the convertion to junit .xml. Maybe someone already did it somewhere, > worth googling, I known some people have done .trx to .html graph (which > you could use and publish the html results too). > > -- > 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 > > <https://groups.google.com/d/msgid/jenkinsci-users/75edf196-1d55-4bca-b0df-e0025e837f28%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d8cdb00e-53e2-4efa-b4d1-dab9a680aa9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
RE: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)?
The XUnit plugin has support for MSTest output and is pipeline compatible. You鈥檇 still need to run MSTest from a bat/powershell command but the Xunit plugin will publish the test output. From: jer...@bodycad.com Sent: 16 August 2017 13:24 To: Jenkins Users Subject: Re: Does anyone know if the MSTest plugin supports pipelines and howto use it in a pipeline (jenkinsfile)? Sadly no, many puglin are still incompatible, you can see the compatibility list here:聽 https://github.com/jenkinsci/pipeline-plugin/blob/master/COMPATIBILITY.md Since the .trx is just an xml file, you could try to do an .xslt file that do the convertion to junit .xml. Maybe someone already did it somewhere, worth googling, I known some people have done .trx to .html graph (which you could use and publish the html results too). -- 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-users+unsubscr...@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. For more options, visit https://groups.google.com/d/optout. -- 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-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/59943b1b.49bbdf0a.2f877.51b3%40mx.google.com. For more options, visit https://groups.google.com/d/optout.