Are there any errors displayed or does it just ignore the line? Would be good to get a sense roughly where the issue might be originating.
Richard. On Fri, 8 Sep 2017 at 03:40 Ann B <[email protected]> wrote: > Hi Steffen- > > publishHTML step also works fine for me from a pipeline script. The issue > is accessing it from a shared library. From a shared library, you have to > reference the DSL steps ( > https://support.cloudbees.com/hc/en-us/articles/217736618-How-do-I-access-Pipeline-DSLs-from-inside-a-Groovy-class- > ). > > steps.step(publishHTML...) also does not work. > > Ann > > > On Thursday, September 7, 2017 at 12:10:57 AM UTC-7, Steffen Elste wrote: >> >> Hello Ann, >>> >> we're using the publishHTML step in conjunction with Allure reports - not >> via a shared library but directly in a pipeline script. >> Basically identical to your first attempt: >> >> publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: >> false, reportDir: 'target/allure-reports', reportFiles: 'index.html', >> reportName: 'Allure Report']) >> >> Do You get any sort of error messages? >> You might want to try and move the call to the pipeline script, if >> possible. >> Cheers, >> >> Steffen >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/0625eb92-a198-4677-97b9-525139fa601c%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0625eb92-a198-4677-97b9-525139fa601c%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMui946hbKiWCG3yiD%3DAUXYd7_QVfa0xYZJMCeKZum_Wo0h%2BGQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
