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.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/jjb/functest/functest-kubernetes-ng.yaml b/jjb/functest/functest-kubernetes-ng.yaml
index 72e273077..f32bc9c27 100644
--- a/jjb/functest/functest-kubernetes-ng.yaml
+++ b/jjb/functest/functest-kubernetes-ng.yaml
@@ -385,9 +385,9 @@
name: functest-kubernetes-ng-docker-scan
builders:
- shell: |
- apt-get -o DPkg::Lock::Timeout=300 update && \
- DEBIAN_FRONTEND=noninteractive apt-get -o DPkg::Lock::Timeout=300 install \
- curl docker.io -y
+ sudo apt-get -o DPkg::Lock::Timeout=300 update && \
+ sudo DEBIAN_FRONTEND=noninteractive apt-get \
+ -o DPkg::Lock::Timeout=300 install curl docker.io -y
mkdir -p ~/.docker/cli-plugins && \
curl https://github.com/docker/scan-cli-plugin/releases/latest/download/docker-scan_linux_amd64 \
@@ -400,7 +400,7 @@
else
image={repo}:{port}/{container}:{tag}
fi
- docker-scan $image
+ sudo docker scan $image
- job-template:
name: 'functest-kubernetes-ng-{repo}-{container}-{tag}-docker-scan'