summaryrefslogtreecommitdiffstats
path: root/build-gluster-org/jobs/netbsd7-regression.yml
diff options
context:
space:
mode:
authorNigel Babu <nigelb@redhat.com>2016-12-31 06:44:23 +0530
committerNigel Babu <nigelb@redhat.com>2016-12-31 07:09:18 +0530
commitb3e073d890a5b651f6fea15f79fb1c88bae9e78c (patch)
tree0623a17616c39ab78ed690e422ac646085dc7ef0 /build-gluster-org/jobs/netbsd7-regression.yml
parent141a253bc65e6ea109bdf98d59e9e2122005efa6 (diff)
Restart the node after netbsd job timeout
Change-Id: If41309b132fabfe47aa1cbab3f7a3e45246ccb80
Diffstat (limited to 'build-gluster-org/jobs/netbsd7-regression.yml')
-rw-r--r--build-gluster-org/jobs/netbsd7-regression.yml7
1 files changed, 7 insertions, 0 deletions
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: