]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new-build: cleanup root-owned mingw64 pbuilder environment 1756/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 2 Mar 2021 18:08:49 +0000 (13:08 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 2 Mar 2021 18:10:15 +0000 (13:10 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
ceph-dev-new-build/build/build_mingw
ceph-dev-new-build/config/definitions/ceph-dev-new-build.yml

index 23b968032fb02a008b4c08ee92366468ec717a61..b26c0255382a426327473277d5cab08f9e0471fc 100644 (file)
@@ -54,5 +54,8 @@ EOF
     echo Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacra_repo_endpoint}/
 fi
 
+# pbuilder will leave root-owned files in shared workspaces
+sudo chown -R jenkins-build ${WORKSPACE}/dist
+
 # update shaman with the completed build status
 update_build_status "completed" "ceph" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
index 723e9895faf810eeb575699b6f06f4a0371bff1b..f534140a4cdb436d44d7e42e878fbdbc773cfd31 100644 (file)
@@ -71,7 +71,7 @@
     builders:
       - shell: |
           echo "Cleaning up top-level workarea (shared among workspaces)"
-          rm -rf dist
+          sudo rm -rf dist
           rm -rf venv
           rm -rf release
       - copyartifact: