fixup! Web security audit base pipeline

This commit is contained in:
wpetit 2019-04-15 21:30:05 +02:00
parent 21b7f75124
commit 3b8431e501
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ def call() {
-e W3AF_AUTH_FORM_PASSWORD_FIELD='${params.authFormPasswordField}' -e W3AF_AUTH_FORM_PASSWORD_FIELD='${params.authFormPasswordField}'
""" """
w3afImage.inside(dockerArgs) { w3afImage.inside(dockerArgs) {
sh 'mkdir reports' sh 'mkdir -p reports'
sh 'rm -f reports/*'
sh 'envtpl -o audit.w3af audit.w3af.tmpl' sh 'envtpl -o audit.w3af audit.w3af.tmpl'
sh './w3af_console -y -n -s audit.w3af' sh './w3af_console -y -n -s audit.w3af'
} }