From: Zack Cerza Date: Wed, 30 Apr 2025 19:21:17 +0000 (-0600) Subject: ceph-dev-pipeline: chown without sudo X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bb14f661fb7ae779186098eeb56b6dfb33934cad;p=ceph-build.git ceph-dev-pipeline: chown without sudo And also at the very end of the job. Signed-off-by: Zack Cerza --- diff --git a/ceph-dev-pipeline/build/Jenkinsfile b/ceph-dev-pipeline/build/Jenkinsfile index a23c0783..ea8917e7 100644 --- a/ceph-dev-pipeline/build/Jenkinsfile +++ b/ceph-dev-pipeline/build/Jenkinsfile @@ -489,8 +489,7 @@ pipeline { post { always { script { - // Jenkins does not use sudo to wipe the workspace, so fix the owner before we finish - sh 'sudo chown -R $USER $WORKSPACE/dist/ceph' + sh 'podman unshare chown -R 0 $WORKSPACE/dist/ceph' } } success {