diff --git a/.ci/dev/regression/Jenkinsfile b/.ci/dev/regression/Jenkinsfile index 4a08d54fe7..96abe97cfa 100644 --- a/.ci/dev/regression/Jenkinsfile +++ b/.ci/dev/regression/Jenkinsfile @@ -65,6 +65,7 @@ pipeline { parameters { choice choices: nexusIqStageChoices, description: 'NexusIQ stage for code evaluation', name: 'nexusIqStage' + booleanParam defaultValue: true, description: 'Run tests during this build?', name: 'DO_TEST' } /* @@ -91,6 +92,9 @@ pipeline { } stage('Stash') { + when { + expression { params.DO_TEST } + } steps { stash name: 'compiled', useDefaultExcludes: false } @@ -115,6 +119,10 @@ pipeline { } stage('All Tests') { + when { + expression { params.DO_TEST } + beforeAgent true + } parallel { stage('Another agent') { agent { @@ -321,10 +329,12 @@ pipeline { always { script { try { - unstash 'allure-input' - allure includeProperties: false, - jdk: '', - results: [[path: '**/allure-input']] + if (params.DO_TEST) { + unstash 'allure-input' + allure includeProperties: false, + jdk: '', + results: [[path: '**/allure-input']] + } } catch (err) { echo("Allure report generation failed: $err") diff --git a/build.gradle b/build.gradle index 32f175665d..3f5a63d639 100644 --- a/build.gradle +++ b/build.gradle @@ -68,7 +68,7 @@ buildscript { ext.servlet_version = '4.0.1' ext.assertj_version = '3.12.2' ext.slf4j_version = '1.7.30' - ext.log4j_version = '2.17.0' + ext.log4j_version = '2.17.1' ext.bouncycastle_version = constants.getProperty("bouncycastleVersion") ext.guava_version = constants.getProperty("guavaVersion") ext.caffeine_version = constants.getProperty("caffeineVersion")