]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Disable privileges for the static analyzer pass
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 4 Dec 2024 14:37:52 +0000 (14:37 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Dec 2024 17:03:49 +0000 (17:03 +0000)
This does not need any privileges as it is only compiling Pakfire, but
not executing the test suite.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 60dea3853325aba9a10292afdc44b766f83afe43..d002479f13caa23f09b11d2d70734837c65c89f7 100644 (file)
@@ -141,7 +141,7 @@ pipeline {
                                                        image "debian:trixie"
 
                                                        // Run as root inside the containers to install dependencies
-                                                       args "--privileged -u root"
+                                                       args "-u root"
 
                                                        customWorkspace "${JOB_NAME}/${BUILD_ID}/clang-static-analyzer"
                                                }