]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Use multiple CPU cores for the static analyzer & LCOV
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:20:11 +0000 (17:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 22 Feb 2025 17:20:11 +0000 (17:20 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 612907c24629c626f1c2caf89534d03dd643108b..fcdee602b44fcff5cd627ee7d12344193daa4452 100644 (file)
@@ -234,7 +234,7 @@ pipeline {
 
                                                stage("Build") {
                                                        steps {
-                                                               sh "scan-build -o scan-build-output make"
+                                                               sh "scan-build -o scan-build-output make -j\$(nproc)"
                                                        }
                                                }
 
@@ -291,7 +291,7 @@ pipeline {
 
                                                stage("Build") {
                                                        steps {
-                                                               sh "make"
+                                                               sh "make -j\$(nproc)"
                                                        }
                                                }