fixup! Web security audit base pipeline

This commit is contained in:
wpetit 2019-04-15 21:04:56 +02:00
parent 828d9ce4e8
commit b424895f0a
1 changed files with 2 additions and 2 deletions

View File

@ -132,8 +132,8 @@ def buildDockerImage() {
def dockerfile = libraryResource 'com/cadoles/w3af/Dockerfile'
writeFile file:'Dockerfile', text:dockerfile
def audit = libraryResource 'com/cadoles/w3af/audit.w3af'
writeFile file:'audit.w3af', text:audit
def audit = libraryResource 'com/cadoles/w3af/audit.w3af.tmpl'
writeFile file:'audit.w3af.tmpl', text:audit
def safeJobName = URLDecoder.decode(env.JOB_NAME).toLowerCase().replace('/', '-').replace(' ', '-')
def imageTag = "${safeJobName}-${env.BUILD_ID}"