Do not throw error if robot test result is unstable
[osm/devops.git] / 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")