From b3e073d890a5b651f6fea15f79fb1c88bae9e78c Mon Sep 17 00:00:00 2001 From: Nigel Babu Date: Sat, 31 Dec 2016 06:44:23 +0530 Subject: Restart the node after netbsd job timeout Change-Id: If41309b132fabfe47aa1cbab3f7a3e45246ccb80 --- build-gluster-org/jobs/netbsd7-regression.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build-gluster-org/jobs/netbsd7-regression.yml') diff --git a/build-gluster-org/jobs/netbsd7-regression.yml b/build-gluster-org/jobs/netbsd7-regression.yml index 7d0a99b..47d2aee 100644 --- a/build-gluster-org/jobs/netbsd7-regression.yml +++ b/build-gluster-org/jobs/netbsd7-regression.yml @@ -32,6 +32,13 @@ recipients: nigelb@redhat.com aborted: true failure: false + - post-tasks: + - matches: + # "Building remotely" should always be in the build console output + #- log-text: Build timed out (after 300 minutes) + - log-text: Build was aborted + script: | + su -l root -c "reboot -n" parameters: - string: -- cgit