summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-08 23:59:23 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-08 23:59:23 +0100
commit4b81bb7b15f60b3725c9295aabccb05ab0538e2c (patch)
treebf6c42d4409c5448d265565a2edd26f0cf6e4b75 /jjb/functest
parent4d4e506895df33159b85999903124d62550bf183 (diff)
Force exit code if failure
Change-Id: Ia445281018f51ae062b63d2f347ffcc725370971 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/xtesting.yaml2
1 files changed, 1 insertions, 1 deletions
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'