简体   繁体   中英

Jenkins upload slave build to a server from master

Jenkins is running in a windows machine. Slave is a mac building iPhone apps. (using ssh)

This configuration building successfully. If I archive the artifact (eg Output/ . ) it saves in the master (windows machine). But when I try to run any bat command to copy files in the post build steps, it runs in the slave machine.
How can I run command in the master (Windows), in the post build steps? Or there is other ways to do it?

I want to upload the build artifact to a server accessible only from the windows (master) machine. How can I do that?

How to tell Jenkins, to take the build artifacts from the slave and run some command (copy files) on those files in the master.

Use the Publish Over FTP Plugin. Create an ftp in master and using Publish Over FTP Plugin, copy the build artifacts to master machine.

Thanks, Manu

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM