copy file from Mac server to Windows share server via jenkins job

123 views
Skip to first unread message

Pradeep Drall

unread,
Jan 30, 2019, 2:52:47 AM1/30/19
to Jenkins Users
Hi, 

I created .ipa and .apk file in Mac machine with Jenkins job , now I would like to copy these files from Mac machine to windows shared drive with jenkins job. Please do let me know the plugin name and jenkins pipeline job code. 

Mac server : {HOME}\Archivefile\abc.ipa and bcd.apk file
Windows shared drive : 172.168.2.3/Mydrive/dev/abc.ipa and bcd.apk

Regards,
Pradeep

Slide

unread,
Jan 30, 2019, 7:13:14 AM1/30/19
to Jenkins User Mailing List
You can look into the publish-over-cifs plugin, though if you are using pipeline, you could also install smbclient and send files that way as well. You can use the snippet or directive generator to generate the code for the publish-over-cifs-plugin.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9d5aa736-3da1-4522-9b3e-2844b2d4fc35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Pradeep Drall

unread,
Feb 5, 2019, 2:59:47 AM2/5/19
to Jenkins Users
Hi, 

Thanks for your reply. I installed the publish-over-cifs plugin and set the configuration in Jenkins configuration system which is working fine. When I transfer the file, I received the message CIFS transferred (0) file . I followed the publish-over-cifs plugin details in jenkins website.

Please do let me know how to transfer ipa and apk file via publish-over-cifs plugin in freestyle jenkins job and in pipeline.
source file : {WORKSPACE}/Abc
remote directory : lib  (already set the shared directory name in Jenkins configuration system. 

Regards,
Pradeep
Reply all
Reply to author
Forward
0 new messages