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: 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