Repository: logging-log4net Updated Branches: refs/heads/feature/cd-pipeline f7a98bcfd -> 9504ecc63
Jenkinsfile: mark build as unstable when there is a test marked as failed Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/9504ecc6 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/9504ecc6 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/9504ecc6 Branch: refs/heads/feature/cd-pipeline Commit: 9504ecc638cb864a276cbf5965de1a2e01013dee Parents: f7a98bc Author: Dominik Psenner <[email protected]> Authored: Thu Jul 6 10:56:55 2017 +0200 Committer: Dominik Psenner <[email protected]> Committed: Thu Jul 6 10:56:55 2017 +0200 ---------------------------------------------------------------------- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/9504ecc6/Jenkinsfile ---------------------------------------------------------------------- diff --git a/Jenkinsfile b/Jenkinsfile index c2d6ed3..5a67a33 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -239,6 +239,11 @@ pipeline { // record test results step([ $class : 'XUnitBuilder', + thresholds : [ + [ + $class: 'FailedThreshold', unstableThreshold: '1' + ] + ], tools : [ [ $class : 'NUnitJunitHudsonTestType',
