Skip to content

Commit f1e1b6e

Browse files
authored
Use Jenkins executor-local PARALLEL value
1 parent 3a196d4 commit f1e1b6e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ def runTests(String testPath, boolean jumbo = false) {
77
sh "cat make/local"
88
sh "make print-compiler-flags"
99
if (jumbo && !params.disableJumbo) {
10-
sh "python3 runTests.py -j${env.PARALLEL} ${testPath} --jumbo --debug"
10+
sh "python3 runTests.py -j${PARALLEL} ${testPath} --jumbo --debug"
1111
} else {
12-
sh "python3 runTests.py -j${env.PARALLEL} ${testPath}"
12+
sh "python3 runTests.py -j${PARALLEL} ${testPath}"
1313
}
1414
}
1515
finally { junit 'test/**/*.xml' }
@@ -61,7 +61,6 @@ pipeline {
6161
OPENCL_PLATFORM_ID = 1
6262
OPENCL_PLATFORM_ID_CPU = 0
6363
OPENCL_PLATFORM_ID_GPU = 0
64-
PARALLEL = 4
6564
GIT_AUTHOR_NAME = 'Stan Jenkins'
6665
GIT_AUTHOR_EMAIL = 'mc.stanislaw@gmail.com'
6766
GIT_COMMITTER_NAME = 'Stan Jenkins'

0 commit comments

Comments
 (0)