Hi, this bug is already reported here : https://issues.jenkins-ci.org/browse/JENKINS-29711 <https://issues.jenkins-ci.org/browse/JENKINS-29711>
publishHTML is not the only step impacted > Le 12 juil. 2016 à 18:15, jer...@bodycad.com a écrit : > > I think I found the solution on that page: > https://jenkins.io/blog/2016/07/01/html-publisher-plugin/ > <https://jenkins.io/blog/2016/07/01/html-publisher-plugin/> > > publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, > reportDir: 'x64\\Release\\FailedTestResult\\', reportFiles: 'index.html', > reportName: 'Failed Tests']) > > should be > > publishHTML(target:[allowMissing: true, alwaysLinkToLastBuild: false, > keepAll: true, reportDir: 'x64\\Release\\FailedTestResult\\', reportFiles: > 'index.html', reportName: 'Failed Tests']) > > notice the extra target: > I guess the pipeline syntaxe for publishHTML have a typo. I would rather have > a web link to the full API outside Jenkins. > > > On Tuesday, July 12, 2016 at 12:10:35 PM UTC-4, jer...@bodycad.com > <http://bodycad.com/> wrote: > Hi, > > I'm trying this into my piple Jenkinsfile: > > publishHTML([allowMissing: true, alwaysLinkToLastBuild: false, keepAll: true, > reportDir: 'x64\\Release\\FailedTestResult\\', reportFiles: 'index.html', > reportName: 'Failed Tests']); > > The directory is there and the index.html file exist too at that step. But I > get the following error: > > [Pipeline] publishHTML > [Pipeline] } > [Pipeline] // timestamps > [Pipeline] } > [Pipeline] // node > [Pipeline] End of Pipeline > ERROR: Cannot publish the report. Target is not specified > Finished <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE > > I generate my line with the pipeline syntax tools. My question is what is the > target and does it represent? Any place where we can find the API doc for all > those pipeline functions? > > Thanks, > Jerome > > -- > 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 > <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/592333c4-e787-4fb8-842a-a80602ce6ab1%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/592333c4-e787-4fb8-842a-a80602ce6ab1%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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/1B5D1C01-C0B1-41F1-9E07-7BE0FB828F67%40gmail.com. For more options, visit https://groups.google.com/d/optout.