How to access and execute local system folders/files in jenkins when jenkins image is installed in docker desktop container?
Please help me to find a way by which we can access and execute local files/folders, inside jenkins image available in docker desktop container?
For example: How to access and run cypress project with jenkins, when the cypress project is available in our local system : For this I've tried by providing custom workspace directory path but also I am getting below errors and not able to run it via jenkins.
- I've also observed that while providing path to custom workspace directory If I use 'Users/...' (i.e not used forward slash at starting) then I am getting below error:
SC Ref. 1: Custom Workspace path without forward slash at starting
Console output error for Custom Workspace path without forward slash at starting)
- But while providing path to custom workspace directory If I use '/Users/...' (i.e used forward slash at starting) then I am getting below error:
SC Ref. 2: Custom Workspace path with forward slash at starting
Console output error for Custom Workspace path with forward slash at starting
For ref.: Installed jenkins image container details: Installed jenkins image container details
Thanks for your help in advance!