Skip to content

Commit

Permalink
pipelines: added failureOnFailedTestConfig for other pipelines too
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Apr 3, 2023
1 parent 5c8ae3c commit 9857de7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion tools/jenkins/midpoint-main-generic-oracle-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ EOF

step([
$class: 'Publisher',
reportFilenamePattern: '**/testng-results.xml'
reportFilenamePattern: '**/testng-results.xml',
failureOnFailedTestConfig: true
])

if (currentBuild.result == 'UNSTABLE' || params.ARCHIVE_LOGS) {
Expand Down
3 changes: 2 additions & 1 deletion tools/jenkins/midpoint-main-generic-pg-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ podTemplate(

step([
$class: 'Publisher',
reportFilenamePattern: '**/testng-results.xml'
reportFilenamePattern: '**/testng-results.xml',
failureOnFailedTestConfig: true
])

if (currentBuild.result == 'UNSTABLE' || params.ARCHIVE_LOGS) {
Expand Down
3 changes: 2 additions & 1 deletion tools/jenkins/midpoint-main-generic-sql-server-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ EOF

step([
$class: 'Publisher',
reportFilenamePattern: '**/testng-results.xml'
reportFilenamePattern: '**/testng-results.xml',
failureOnFailedTestConfig: true
])

if (currentBuild.result == 'UNSTABLE' || params.ARCHIVE_LOGS) {
Expand Down
3 changes: 2 additions & 1 deletion tools/jenkins/midpoint-main-nativepg-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ podTemplate(

step([
$class: 'Publisher',
reportFilenamePattern: '**/testng-results.xml'
reportFilenamePattern: '**/testng-results.xml',
failureOnFailedTestConfig: true
])

if (currentBuild.result == 'UNSTABLE' || params.ARCHIVE_LOGS) {
Expand Down
3 changes: 1 addition & 2 deletions tools/jenkins/midpoint-quick-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ podTemplate(

step([$class: 'Publisher',
reportFilenamePattern: '**/testng-results.xml',
// failureOnFailedTestConfig: true // unusable, we don't want FAILURE
// FAILURE result can't be switched to lower-level UNSTABLE later!
failureOnFailedTestConfig: true
])

if (currentBuild.result == 'UNSTABLE' || params.ARCHIVE_LOGS) {
Expand Down

0 comments on commit 9857de7

Please sign in to comment.