From 6fa2c721efe52aaf009561c1f006c38846d53f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C5=BEe=20=C5=BDitnik?= <anze.zitnik@xlab.si> Date: Tue, 12 Mar 2019 12:11:27 +0100 Subject: [PATCH] CI test stage removes temp file after running --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f31e70..ccc06cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,9 +17,10 @@ test: stage: test script: - docker run -e "TARGET=http://10.10.43.182" -v /tmp/:/mnt/output registry-gitlab.xlab.si/cyberwiser/$SERVICE:$VERSION - - cat /tmp/genscan-out.json - grep -q "W3af" /tmp/genscan-out.json - grep -q "OWASP ZAP" /tmp/genscan-out.json + after_script: + - rm /tmp/genscan-out.json push: stage: push -- GitLab