]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
cephmetrics: Clean with sudo 759/head
authorBoris Ranto <branto@redhat.com>
Fri, 23 Jun 2017 14:46:13 +0000 (16:46 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 23 Jun 2017 14:46:56 +0000 (16:46 +0200)
Signed-off-by: Boris Ranto <branto@redhat.com>
cephmetrics/build/setup
cephmetrics/config/definitions/cephmetrics.yml

index 41939805af3c6bb7e1ae7953ee9fec535907bb01..6c7975746eaa457115c4552c2e36ac8d6e97f8f9 100644 (file)
@@ -20,10 +20,10 @@ cd $WORKSPACE
 get_distro_and_target
 
 # Perform a clean-up
-git clean -fxd
+sudo git clean -fxd
 
 # Make sure the dist directory is clean
-rm -rf dist
+sudo rm -rf dist
 mkdir -p dist
 
 # Print some basic system info
index 6e831df5ad964c502eb44b737410a034b9dadfb4..8bdf8ebaf68fb68c141bd0d134909e1b8b68e08d 100644 (file)
@@ -72,14 +72,13 @@ If this is checked, then the binaries will be built and pushed to chacra even if
           branches:
             - $BRANCH
           skip-tag: true
-          wipe-workspace: true
 
     builders:
       - shell: |
           echo "Cleaning up top-level workarea (shared among workspaces)"
-          rm -rf dist
-          rm -rf venv
-          rm -rf release
+          sudo rm -rf dist
+          sudo rm -rf venv
+          sudo rm -rf release
       # rpm build scripts
       - shell:
           !include-raw: