summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-04-21 09:29:03 -0400
committerTim Rozet <trozet@redhat.com>2016-04-21 09:29:03 -0400
commit313ee3584c00db4fb8a91878a8f89b6909320a57 (patch)
tree593f0dfc3d0d273a77e217c40f3db0aaef6c6f86 /jjb/apex
parentb0c0366a5747c03365bc96c6ae5e1f7c3dc7a618 (diff)
Apex: adds sudo to workspace clean
Need this for .pyc files generated by root as deploy is run as root. Change-Id: If23b7c6a7ae3b8d63882548f2b2a5b8d91cb1995 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml
index 0356ddab3..1296b5b37 100644
--- a/jjb/apex/apex.yml
+++ b/jjb/apex/apex.yml
@@ -736,7 +736,7 @@
set -o pipefail
# delete everything that is in $WORKSPACE
- /bin/rm -rf $WORKSPACE
+ sudo /bin/rm -rf $WORKSPACE
- builder:
name: 'apex-upload-artifact'