summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-kubernetes-ng.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/functest/functest-kubernetes-ng.yaml')
-rw-r--r--jjb/functest/functest-kubernetes-ng.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/jjb/functest/functest-kubernetes-ng.yaml b/jjb/functest/functest-kubernetes-ng.yaml
index 19f93d690..9a868d376 100644
--- a/jjb/functest/functest-kubernetes-ng.yaml
+++ b/jjb/functest/functest-kubernetes-ng.yaml
@@ -305,8 +305,9 @@
name: functest-kubernetes-ng-trivy
builders:
- shell: |
- sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive \
- apt-get install curl -y
+ sudo apt-get -o DPkg::Lock::Timeout=300 update && \
+ sudo DEBIAN_FRONTEND=noninteractive apt-get \
+ -o DPkg::Lock::Timeout=300 install curl -y
curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
if [ "{repo}" = "_" ]; then