Do not throw error if robot test result is unstable 89/10789/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 12 May 2021 07:50:16 +0000 (09:50 +0200)
committerbeierlm <mark.beierl@canonical.com>
Wed, 12 May 2021 08:44:36 +0000 (10:44 +0200)
Change-Id: Ide5136b35f8f3965a3ef716eaad6414a6d47cc90
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
jenkins/ci-pipelines/ci_stage_3.groovy

index a119ecf..98b0020 100644 (file)
@@ -534,7 +534,7 @@ EOF"""
                     stage("Archive Container Logs") {
                         // Archive logs to containers_logs.txt
                         archive_logs(remote)
-                        if ( ! currentBuild.result.equals('UNSTABLE') && ! currentBuild.result.equals('FAILURE')) {
+                        if ( ! currentBuild.result.equals('FAILURE') ) {
                             stage_archive = keep_artifacts
                         } else {
                             println ("Systest test failed, throwing error")