summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/functest/functest-kubernetes-ng.yaml2
-rw-r--r--jjb/functest/functest-kubernetes.yaml2
-rw-r--r--jjb/functest/functest.yaml2
-rw-r--r--jjb/functest/xtesting.yaml2
4 files changed, 4 insertions, 4 deletions
diff --git a/jjb/functest/functest-kubernetes-ng.yaml b/jjb/functest/functest-kubernetes-ng.yaml
index b9353f98f..bbe849987 100644
--- a/jjb/functest/functest-kubernetes-ng.yaml
+++ b/jjb/functest/functest-kubernetes-ng.yaml
@@ -320,7 +320,7 @@
else
image={repo}:{port}/{container}:{tag}
fi
- ./trivy $image
+ ./trivy image --exit-code 1 $image
- job-template:
name: 'functest-kubernetes-ng-{repo}-{container}-{tag}-trivy'
diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml
index 6cf3093ad..1634473b0 100644
--- a/jjb/functest/functest-kubernetes.yaml
+++ b/jjb/functest/functest-kubernetes.yaml
@@ -1261,7 +1261,7 @@
else
image={repo}:{port}/{container}:{tag}
fi
- ./trivy $image
+ ./trivy image --exit-code 1 $image
- job-template:
name: 'functest-kubernetes-{repo}-{container}-{tag}-trivy'
diff --git a/jjb/functest/functest.yaml b/jjb/functest/functest.yaml
index c0d57d10b..6660e6826 100644
--- a/jjb/functest/functest.yaml
+++ b/jjb/functest/functest.yaml
@@ -1613,7 +1613,7 @@
else
image={repo}:{port}/{container}:{tag}
fi
- ./trivy $image
+ ./trivy image --exit-code 1 $image
- job-template:
name: 'functest-{repo}-{container}-{tag}-trivy'
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index e4000a45b..66a108d8c 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -847,7 +847,7 @@
else
image={repo}:{port}/{container}:{tag}
fi
- ./trivy $image
+ ./trivy image --exit-code 1 $image
- job-template:
name: 'xtesting-{repo}-{container}-{tag}-trivy'