Deploy an artifact in shared location where the target is not a host but our network path on our laptop c:/sharedpath.how do we configure jenkins to deploy the artifact to the network path.
Asked
Active
Viewed 1,095 times
1 Answers
0
There is a publish-over-cifs Jenkins plugin which can:
Send build artifacts to a windows share (CIFS/SMB/samba)

Henrik Pingel
- 9,380
- 2
- 28
- 39
-
Thank you but what values should be given for wins server and for cisf, it will be the name of the host where the shared location path is resided. – vodevops Oct 29 '20 at 09:38
-
That is documented on the linked page. For wins the ip address of the server, for cifs either ip or hostname – Henrik Pingel Oct 29 '20 at 11:00
-
Hi Henrik, I have given the server up address.On testing the configuration,got an error like "jenkins.pluginss.publish_over.bappublisherexception:exception when testing config.URL (smb://hostname/sharwd_path),message:(the network name cannot be found) – vodevops Nov 03 '20 at 11:19
-
That is probably caused by a network problem. Your Jenkins worker node must have a route to the smb host. – Henrik Pingel Nov 03 '20 at 11:41