diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-03-22 21:25:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-22 21:25:08 +0000 |
commit | 34e12d9aa0e7cc9baeba6de454fbce00ae627aea (patch) | |
tree | f852fe20673630eed103b3a07a1dbca1aea64efe /jjb/xci/bifrost-verify-jobs.yml | |
parent | 9bfda5e8f2d31270287115773fdf2c98dbbaba87 (diff) | |
parent | 139d2fb3d8aebafbd7194b3465f92c415971db39 (diff) |
Merge "jjb: xci: Fix permissions in workspace before removing it"
Diffstat (limited to 'jjb/xci/bifrost-verify-jobs.yml')
-rw-r--r-- | jjb/xci/bifrost-verify-jobs.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/jjb/xci/bifrost-verify-jobs.yml b/jjb/xci/bifrost-verify-jobs.yml index 33032bc7b..6aea1c4aa 100644 --- a/jjb/xci/bifrost-verify-jobs.yml +++ b/jjb/xci/bifrost-verify-jobs.yml @@ -145,6 +145,9 @@ - bifrost-set-name - bifrost-build + wrappers: + - bifrost-fix-perms-workspace + publishers: - email: recipients: fatih.degirmenci@ericsson.com yroblamo@redhat.com mchandras@suse.de jack.morgan@intel.com julienjut@gmail.com @@ -208,6 +211,17 @@ readable-message: true #--------------------------- +# wrapper macros +#--------------------------- +- wrapper: + name: bifrost-fix-perms-workspace + wrappers: + - pre-scm-buildstep: + - shell: | + #!/bin/bash + sudo chown -R $USER $WORKSPACE || exit 1 + +#--------------------------- # builder macros #--------------------------- - builder: |