how to persist the workspace of a job run on an EC2 slave

17 views
Skip to first unread message

Eric Wood

unread,
Dec 11, 2014, 1:11:19 PM12/11/14
to Jenkinsci-users
How can I persist a workspace for a job run on an EC2 slave?  We want to be able to push CI build steps to a EC2 slave. Due to the ephemeral nature of the slave, the workspace may  not be available.  Is there a way to be able to persist the workspace back to the master?


jpd4nt

unread,
Dec 12, 2014, 11:08:34 AM12/12/14
to jenkins...@googlegroups.com, eric...@rocketmail.com
 Hi.

You can use EBS on the EC2 slaves and choose the stop instead of terminate for non spot instances.

It depends on what in the workspace you can to keep as there are a number of publishers which save things back to the master.
Reply all
Reply to author
Forward
0 new messages