From 4b81bb7b15f60b3725c9295aabccb05ab0538e2c Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 8 Feb 2021 23:59:23 +0100 Subject: Force exit code if failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia445281018f51ae062b63d2f347ffcc725370971 Signed-off-by: Cédric Ollivier --- jjb/functest/xtesting.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit