I am trying to generate HTML reports(Protractor Test) through Jenkins but it says
"ERROR: Specified HTML directory 'x/y/z/Reports' does not exist". but when i run on the slave reports were generated.
What do i need to do on the Jenkins Configuration, please help on this.
*Path is correct but it could not generate "Reports" folder on the slave.
I am using- "protractor-html-screenshot-reporter"
Jenkins could not generate HTML Report folder on slave-machine
5k Views Asked by Nick At
2
There are 2 best solutions below
0
On
This is the solution:
- Click on Workspace Button and navigate until the HTML report folder appears.
- Copy the full path (Even though it looks like it's before the project):
- Paste the full path as is in the Publish HTML report plugin:
Remember! Location path / configuration on Bash script field (even running: cd /././. etc.) Does not affect the rest of the configuration settings on the Jenkins page.
This is why a full path is needed.


You need specify the path like "\x\y\z\Reports\", and make sure those folders is existing on your slave-machine