summaryrefslogtreecommitdiffstats
path: root/jjb/global/releng-macros.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-29 09:34:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-29 09:34:02 +0000
commit2f14f91f142709b4ec2c91f78a99ecdbe896046d (patch)
tree728a133680f8949f95492a42abf320779f48f217 /jjb/global/releng-macros.yml
parent64b2f0789690153712c94b8fb9ffcbb446afb640 (diff)
parenta6e69290bf958c3ed56d4e11be4d9cf3a06b3058 (diff)
Merge "Make prescm step workspace permission fix a macro available to all"
Diffstat (limited to 'jjb/global/releng-macros.yml')
-rw-r--r--jjb/global/releng-macros.yml8
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: