From: Cédric Ollivier Date: Mon, 8 Feb 2021 22:59:23 +0000 (+0100) Subject: Force exit code if failure X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=4b81bb7b15f60b3725c9295aabccb05ab0538e2c;p=releng.git Force exit code if failure Change-Id: Ia445281018f51ae062b63d2f347ffcc725370971 Signed-off-by: Cédric Ollivier --- diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index e796b48f5..0e3fa6301 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -637,7 +637,7 @@ else image={repo}:{port}/{container}:{tag} fi - ./trivy $image + ./trivy --exit-code 1 $image - job-template: name: 'xtesting-{repo}-{container}-{tag}-trivy'