diff --git a/Jenkinsfile b/Jenkinsfile index 141c347..8d7530c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,12 +15,12 @@ def runOneRegression(String suite, String preset, String simulatorPath) { test -x "${simulatorPath}" cmake --fresh --preset "${preset}" \\ -DTHREADX_TEST_SIMULATOR="${simulatorPath}" - cmake --build --preset "${preset}" + cmake --build --preset "${preset}" --parallel "\$(nproc)" ctest \\ --test-dir "${buildDir}" \\ --output-on-failure \\ --output-junit "${buildDir}/ctest-results.xml" \\ - --parallel "1" + --parallel "4" """ } } @@ -134,7 +134,7 @@ node { throw err } finally { junit allowEmptyResults: true, testResults: 'build/*/test/*/ctest-results.xml' - archiveArtifacts artifacts: 'build/*/test/*/*.map,build/*/test/*/*.dis,build/*/test/*/Testing/**', allowEmptyArchive: true + archiveArtifacts artifacts: 'build/*/test/*/Testing/**', allowEmptyArchive: true if (currentBuild.currentResult == 'SUCCESS') { rocketSend ":thumbsup: ThreadX regression run passed, results at ${env.RUN_DISPLAY_URL} "