Skip to content

Commit 31ef60f

Browse files
authored
Merge pull request #20 from jimklimov/issue-19
Basic fixes for issue #19
2 parents ec3428d + c34ad9e commit 31ef60f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/org/nut/dynamatrix/Dynamatrix.groovy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,8 +2512,15 @@ def parallelStages = prepareDynamatrix(
25122512
dsbc.thisDynamatrix?.updateProgressBadge(false, rememberClones)
25132513
printStackTraceStderrOptional(jlie)
25142514
throw jlie
2515+
// TODO // } catch (hudson.plugins.git.GitException gex) { // see https://github.com/networkupstools/jenkins-dynamatrix/issues/19 about evil force-pushes
25152516
} catch (Throwable t) {
25162517
dsbc.thisDynamatrix?.countStagesIncrement('DEBUG-EXC-UNKNOWN: ' + Utils.castString(t), stageName + sbName)
2518+
2519+
// No idea what happened (that's for devops to research), but this
2520+
// stage has definitely completed, and not in a successful fashion....
2521+
dsbc.thisDynamatrix?.countStagesIncrement('COMPLETED', stageName + sbName)
2522+
dsbc.thisDynamatrix?.countStagesIncrement('FAILURE', stageName + sbName)
2523+
25172524
dsbc.thisDynamatrix?.updateProgressBadge(false, rememberClones)
25182525
dsbc.dsbcResultInterim = 'Throwable'
25192526

0 commit comments

Comments
 (0)