diff options
author | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-03-29 11:19:01 +0200 |
---|---|---|
committer | Fatih Degirmenci <fatih.degirmenci@ericsson.com> | 2017-03-29 11:19:01 +0200 |
commit | a6e69290bf958c3ed56d4e11be4d9cf3a06b3058 (patch) | |
tree | 17a3bcc4418cb199eacb755d77ed079aa7fbc7cc /jjb/global | |
parent | d4d7b5821f6d9a783bed651441b9f73c5cf64cbc (diff) |
Make prescm step workspace permission fix a macro available to all
bifrost-verify jobs have been using this without issues and it is
needed for many other jobs in order to avoid unnecessary failures.
This change makes workspace permission fix prescm step a macro.
Change-Id: Ib5678dbf21c17ce640a600d2a06ebed9674663fa
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/global')
-rw-r--r-- | jjb/global/releng-macros.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml index 6fdb4caf4..ced335cb9 100644 --- a/jjb/global/releng-macros.yml +++ b/jjb/global/releng-macros.yml @@ -164,6 +164,14 @@ users: - 'd42411ac011ad6f3dd2e1fa34eaa5d87f910eb2e' +- wrapper: + name: fix-workspace-permissions + wrappers: + - pre-scm-buildstep: + - shell: | + #!/bin/bash + sudo chown -R $USER $WORKSPACE || exit 1 + - builder: name: build-html-and-pdf-docs-output builders: |