I'm wondering if using Jenkins slaves is the right solution for long running tasks on remote servers.

I want to run a long running task (like e.g. restoring databases), but I'm worried about temporary connection issues. Note that my Jenkins server is non-public and it has a one way connection to the deployment server. So I'm planning to use SSH to connect from Jenkins to slave (using SSH Slaves plugin).

So... What happens if a Jenkins slave is disconnected from master while running my restore task? Will the task keep on running (i.e. run commands that restore databases and run other build steps)? Will I be able to see log of the tasks from master (i.e. will Jenkins automatically re-connect to slave and download logs from slave)? If not will I be able to at least retrieve a log form the slave (e.g. by downloading files manually)?


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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to