summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 09:07:14 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 09:07:14 +0100
commit910c6bd59b55797b7f2400efb8198bab86b922ec (patch)
tree64eae1c66870433397f5ec836ee1c500194a4f7c /jjb
parent7c2184df65920a05d8ba420969d027b217f3c900 (diff)
Install Curl which could be missing
https://build.opnfv.org/ci/view/functest-kubernetes-trivy/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-leguer-trivy/1/console Change-Id: Ibb91238202fb2802eeaa3a16ce6a233159bfa33c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/functest/functest-kubernetes.yaml5
-rw-r--r--jjb/functest/xtesting.yaml5
2 files changed, 8 insertions, 2 deletions
diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml
index b26021267..e3adeb6d1 100644
--- a/jjb/functest/functest-kubernetes.yaml
+++ b/jjb/functest/functest-kubernetes.yaml
@@ -921,6 +921,7 @@
name: functest-kubernetes-trivy
builders:
- shell: |
+ apt-get update && apt-get install curl
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sh -s -- -b .
if [ "{repo}" = "_" ]; then
image={container}:{tag}
@@ -933,6 +934,8 @@
- job-template:
name: 'functest-kubernetes-{repo}-{container}-{tag}-trivy'
+ triggers:
+ - timed: '@weekly'
parameters:
- functest-kubernetes-slave:
slave: '{slave}'
@@ -981,7 +984,7 @@
- view:
- name: functest-kubernetes-daily
+ name: functest-kubernetes
view-type: list
columns:
- status
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index 5c444d428..f6041b201 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -642,6 +642,7 @@
name: xtesting-trivy
builders:
- shell: |
+ apt-get update && apt-get install curl
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
if [ "{repo}" = "_" ]; then
image={container}:{tag}
@@ -654,6 +655,8 @@
- job-template:
name: 'xtesting-{repo}-{container}-{tag}-trivy'
+ triggers:
+ - timed: '@daily'
parameters:
- xtesting-slave:
slave: '{slave}'
@@ -684,7 +687,7 @@
- view:
- name: xtesting-daily
+ name: xtesting
view-type: list
columns:
- status