Skip to content

Commit

Permalink
[jenkins] Fix PR job (strimzi#4792)
Browse files Browse the repository at this point in the history
* debug

Signed-off-by: Lukas Kral <lukywill16@gmail.com>

* fixup! debug

Signed-off-by: Lukas Kral <lukywill16@gmail.com>

* increase number of parallel tests

Signed-off-by: Lukas Kral <lukywill16@gmail.com>
  • Loading branch information
im-konge authored Apr 22, 2021
1 parent 716e624 commit 6532a25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .jenkins/Jenkinsfile-pr
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pipeline {
string(name: 'TEST_PROFILE', defaultValue: 'acceptance', description: 'maven parameter for executing specific test profile')
string(name: 'EXCLUDE', defaultValue: "${DEFAULT_EXCLUDED_GROUPS}", description: 'maven parameter for exclude specific test tag')
string(name: 'ENV_VARS', defaultValue: "", description: 'maven parameter for setting values of environment variables used in STs')
string(name: 'TEST_COUNT_RUNNING_IN_PARALLEL', defaultValue: "5", description: 'maven parameter for turning on parallel execution of test.')
}
options {
timeout(time: 24, unit: 'HOURS')
Expand Down Expand Up @@ -98,6 +97,8 @@ pipeline {

if (env.ghprbCommentBody.contains('test_count_running_in_parallel=')) {
env.TEST_COUNT_RUNNING_IN_PARALLEL = env.ghprbCommentBody.split('test_count_running_in_parallel=')[1].split(/\s/)[0]
} else {
env.TEST_COUNT_RUNNING_IN_PARALLEL = "3"
}

println("ENV_VARS: ${env.ENV_VARS}")
Expand Down

0 comments on commit 6532a25

Please sign in to comment.