Monday, June 10, 2019

copy from linux to windows

sudo apt install putty-tools
and use pscp.

Or a simple option, use

Publish Over CIFS Plugin

How to use that?

In the configure system of manage jenkins, add below details, for name resolution using wins, if using IP addresses only, then skip this.



Now add the windows shares we want to access on the same section.



In the build step of a free style job, add below data.




I am getting error with pipeline jobs, so created a freestyle job and using that with parameters in my projects.

Parameters added:

sourcefiles: dist/Mywar.war

remotedirectory: Projectname-$BUILD_TAG

Remove prefix option, you can keep dist so it won't create this folder structure in the windows share.






No comments:

Post a Comment