From 3b8431e5019c837659a2fa6705ec99423b5eaa73 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 15 Apr 2019 21:30:05 +0200 Subject: [PATCH] fixup! Web security audit base pipeline --- vars/audit.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/audit.groovy b/vars/audit.groovy index f68f11a..1fd8b5f 100644 --- a/vars/audit.groovy +++ b/vars/audit.groovy @@ -87,7 +87,8 @@ def call() { -e W3AF_AUTH_FORM_PASSWORD_FIELD='${params.authFormPasswordField}' """ w3afImage.inside(dockerArgs) { - sh 'mkdir reports' + sh 'mkdir -p reports' + sh 'rm -f reports/*' sh 'envtpl -o audit.w3af audit.w3af.tmpl' sh './w3af_console -y -n -s audit.w3af' }