diff options
Diffstat (limited to 'jjb/functest/xtesting.yaml')
-rw-r--r-- | jjb/functest/xtesting.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml index 1638e5e71..efe7daab7 100644 --- a/jjb/functest/xtesting.yaml +++ b/jjb/functest/xtesting.yaml @@ -853,9 +853,9 @@ name: xtesting-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 \ @@ -868,7 +868,7 @@ else image={repo}:{port}/{container}:{tag} fi - docker-scan $image + sudo docker scan $image - job-template: name: 'xtesting-{repo}-{container}-{tag}-docker-scan' @@ -941,4 +941,4 @@ - last-success - last-failure - last-duration - regex: ^xtesting-[a-z0-9.]+-docker-scan$ + regex: (?!xtesting-pi)^xtesting-[a-z-0-9.]+-docker-scan$ |