]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
try some other ways to cleanup ./dist
authorGregory Meno <gmeno@redhat.com>
Thu, 26 Jan 2017 04:47:39 +0000 (20:47 -0800)
committerGregory Meno <gmeno@redhat.com>
Thu, 26 Jan 2017 04:47:39 +0000 (20:47 -0800)
Signed-off-by: Gregory Meno <gmeno@redhat.com>
calamari/build/post [new file with mode: 0644]
calamari/build/setup

diff --git a/calamari/build/post b/calamari/build/post
new file mode 100644 (file)
index 0000000..21ee83e
--- /dev/null
@@ -0,0 +1,2 @@
+sudo chown -R jenkins-build ./dist
+
index 41939805af3c6bb7e1ae7953ee9fec535907bb01..c1cee1d038d1a908228da0b9f15a6d2116878fe8 100644 (file)
@@ -23,7 +23,7 @@ get_distro_and_target
 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