I have installed Jenkins at 1.1.1.01 Ipaddress, and a bat file does exist at remote fileserver 1.1.1.02 Ipaddress (that may differ by user, because I will give Ipaddress as a parameter).
Can I deploy that bat file through Jenkins pipeline?
CodePudding user response:
You need first to check, independently of Jenkins, if you can access 1.1.1.02 (or any other remote server IPs) from 1.1.1.01
, assuming 1.1.1.01
is the server executing your job.
If, from 1.1.1.01
, you can SSH for instance to 1.1.1.02
, or scp 1.1.1.02
, then you can copy a file (like your bat file), from 1.1.1.01
to 1.1.1.02
or vice-versa.