![jenkins mac network drive script jenkins mac network drive script](https://www.jenkins.io/doc/book/resources/tutorials/multibranch-pipeline-32-complete-pipeline-runs-successfully-on-development-branch.png)
Alternatively, see if Jenkins can access them via \\. To mount the share, we need this AppleScript: tell application 'System Events' if 'photos' is not in the name of every disk then mount volume 'afp://britannia.localdomain/photos' end tell.
![jenkins mac network drive script jenkins mac network drive script](https://bugfender.com/wp-content/uploads/2017/11/jenkins-4-7-project.png)
If your files and folders are hidden on the NAS drives, your network drive may fail to show all of them. If you frequently access a file server from a Mac it’s pretty helpful to map the network drive to your desktop. But this is highly unreliable as the agent might fail to restart after a machine reboot. Network Drive Not Showing All Folders/Files.
#Jenkins mac network drive script install#
The agent can now access the network drives again.ĭo not install the slave agent as a Windows service to keep accessing your mounted network drives using drive letters.
![jenkins mac network drive script jenkins mac network drive script](https://d2908q01vomqb2.cloudfront.net/f1f836cb4ea6efb2a0b1b99f41ad8b103eff4b59/2021/08/12/ML-4590-image065.png)
2) Click on a new item and enter the item name and check the freestyle project radio button.