diff options
author | Nigel Babu <nigelb@redhat.com> | 2017-08-21 11:18:43 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2017-08-21 11:18:43 +0530 |
commit | bcb5f36ad2d05a014a18ae7162494dc72e3c6fd8 (patch) | |
tree | ce6cc9ec4d66237631bd75eb1155a321e967062b /build-gluster-org/jobs/lcov.yml | |
parent | 6315ef6eea9e60ec470c2e6f7c0aaa96320881d4 (diff) |
Add a step to own the workspace in case of failure
Change-Id: I9a11348fb11cde4cd8d10dbfbb95b698758a2458
Diffstat (limited to 'build-gluster-org/jobs/lcov.yml')
-rw-r--r-- | build-gluster-org/jobs/lcov.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/build-gluster-org/jobs/lcov.yml b/build-gluster-org/jobs/lcov.yml index b3a051f..81d95a3 100644 --- a/build-gluster-org/jobs/lcov.yml +++ b/build-gluster-org/jobs/lcov.yml @@ -36,6 +36,11 @@ - log-text: Build was aborted script: | sudo reboot + - post-tasks: + - matches: + - log-text: Building remotely + script: | + sudo chown -R jenkins:jenkins $WORKSPACE parameters: - string: |