]> source.dussan.org Git - archiva.git/commitdiff
fix syntax (#74)
authorOlivier Lamy <olamy@apache.org>
Mon, 11 Apr 2022 05:31:29 +0000 (15:31 +1000)
committerGitHub <noreply@github.com>
Mon, 11 Apr 2022 05:31:29 +0000 (15:31 +1000)
Signed-off-by: Olivier Lamy <olamy@apache.org>
Jenkinsfile

index eaebba1bdb1511a02a408c9f25599a7b6be11ab4..2bcc32323b23c40c659cf50ed5c764ecc70f642d 100644 (file)
@@ -106,7 +106,7 @@ pipeline {
                                 // -Dmaven.compiler.fork=true: Do compile in a separate forked process
                                 // -Dmaven.test.failure.ignore=true: Do not stop, if some tests fail
                                 // -Pci-build: Profile for CI-Server
-                                sh "mvn ${cmdLine} -B -U -e -fae -Dorg.slf4j.simpleLogger.showThreadName=true -Pci-build -T${THREADS}"
+                                sh "mvn ${cmdLine} -B -U -e -fae -Dorg.slf4j.simpleLogger.showThreadName=true -Pci-build -T${params.THREADS}"
                             }
                 }
             }
@@ -149,7 +149,7 @@ pipeline {
                                         {
                                             sh "chmod 755 ./src/ci/scripts/prepareWorkspace.sh"
                                             sh "./src/ci/scripts/prepareWorkspace.sh"
-                                            sh "mvn clean install -U -B -e -fae -Dorg.slf4j.simpleLogger.showThreadName=true -Pci-build -T${THREADS}"
+                                            sh "mvn clean install -U -B -e -fae -Dorg.slf4j.simpleLogger.showThreadName=true -Pci-build -T${params.THREADS}"
                                         }
                             }
                         }