How do I configure a Jenkins job to push a file to a specific Windows server on the network?

144 views
Skip to first unread message

Kiran

unread,
Feb 24, 2016, 7:09:27 PM2/24/16
to Jenkins Users
To me, this is the most simple Jenkins question possible: how do I transfer a file to a Windows server?  I want to create a new job that does this. 

I have Jenkins installed on a Linux server. I have plugins such as "SSH" and "Publish Over SSH" installed. Jenkins can run builds on itself.  I want to create either a Freestyle Project or an External Job (or something else) that transfers a file and runs it on two separate linux servers. Where in the GUI do I configure the destination server when I create a new job?  I see no place to configure even the IP address let alone authentication information to connect to a Windows server.

Baptiste Mathus

unread,
Feb 28, 2016, 3:14:47 PM2/28/16
to jenkins...@googlegroups.com
In general, you need to think/test how you'd do what you want by hand. Then in the Jenkins /world/ search for the right plugin/way to do it.

For example, you might have a Samba/CIFS access, then you'd want to test the "Publish Over CIFS plugin" (IIRC the name, never used it myself).

Once you've decided on the first part, and tried implementing the second part, come back here if need be.

HTH

2016-02-25 1:09 GMT+01:00 Kiran <catrina...@gmail.com>:
To me, this is the most simple Jenkins question possible: how do I transfer a file to a Windows server?  I want to create a new job that does this. 

I have Jenkins installed on a Linux server. I have plugins such as "SSH" and "Publish Over SSH" installed. Jenkins can run builds on itself.  I want to create either a Freestyle Project or an External Job (or something else) that transfers a file and runs it on two separate linux servers. Where in the GUI do I configure the destination server when I create a new job?  I see no place to configure even the IP address let alone authentication information to connect to a Windows server.

--
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/f7cd9232-3fc4-439b-abcd-ff5a46f10025%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages