From 9602f1ac0e87428b8a41f2783f6b3988c94b61e9 Mon Sep 17 00:00:00 2001 From: Dan Bowling Date: Thu, 20 Nov 2025 14:38:34 -0500 Subject: [PATCH] Remove user flag from Jenkinsfile args - Removes the root user from the docker run, which should default to the ci user (uid=6056) - May fix issue where files in workspace are created as root user, which then cannot be cleaned up automatically --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index ba3e749..4c94501 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,7 +27,7 @@ pipeline { // Pass JENKINS_EMAIL_SUBJECT_PREFIX and JENKINS_DEFAULT_EMAIL_RECIPIENTS // into container as "env" arguments, so they are available inside the // Docker container - args '-u root --env JENKINS_DEFAULT_EMAIL_RECIPIENTS=$JENKINS_DEFAULT_EMAIL_RECIPIENTS --env JENKINS_EMAIL_SUBJECT_PREFIX=$JENKINS_EMAIL_SUBJECT_PREFIX' + args '--env JENKINS_DEFAULT_EMAIL_RECIPIENTS=$JENKINS_DEFAULT_EMAIL_RECIPIENTS --env JENKINS_EMAIL_SUBJECT_PREFIX=$JENKINS_EMAIL_SUBJECT_PREFIX' } }