Skip to content

Commit

Permalink
Merge pull request #20 from jimklimov/issue-19
Browse files Browse the repository at this point in the history
Basic fixes for issue #19
  • Loading branch information
jimklimov authored Jul 10, 2023
2 parents ec3428d + c34ad9e commit 31ef60f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/org/nut/dynamatrix/Dynamatrix.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -2512,8 +2512,15 @@ def parallelStages = prepareDynamatrix(
dsbc.thisDynamatrix?.updateProgressBadge(false, rememberClones)
printStackTraceStderrOptional(jlie)
throw jlie
// TODO // } catch (hudson.plugins.git.GitException gex) { // see https://github.com/networkupstools/jenkins-dynamatrix/issues/19 about evil force-pushes
} catch (Throwable t) {
dsbc.thisDynamatrix?.countStagesIncrement('DEBUG-EXC-UNKNOWN: ' + Utils.castString(t), stageName + sbName)

// No idea what happened (that's for devops to research), but this
// stage has definitely completed, and not in a successful fashion....
dsbc.thisDynamatrix?.countStagesIncrement('COMPLETED', stageName + sbName)
dsbc.thisDynamatrix?.countStagesIncrement('FAILURE', stageName + sbName)

dsbc.thisDynamatrix?.updateProgressBadge(false, rememberClones)
dsbc.dsbcResultInterim = 'Throwable'

Expand Down

0 comments on commit 31ef60f

Please sign in to comment.