Need to run "post build task" step on the slave server for Continuous Deployment.

32 views
Skip to first unread message

Pavan Teja

unread,
Jul 27, 2015, 2:54:51 PM7/27/15
to Jenkins Users
Hi,

    I am using Jenkins for Continuous Integration and Continuous Deployment. I have written script for deployment process, but i don't want to run that script from jenkins master server, due to some security reasons. 
    So i launched a slave server using Headless mode in Ubuntu server, now i need to Set a "Post-build" task for a Job in jenkins, which should run in slave server. 
    Is there any way to do it ? OR Please suggest if there are any alternatives.

Thanks,
Pavan

swastika basu

unread,
Jul 27, 2015, 4:12:30 PM7/27/15
to Jenkins Users, teja...@gmail.com
why not add another job to run the on the slave, let it execute the script and add the job as downstream job to your master job?
Reply all
Reply to author
Forward
0 new messages