diff --git a/vars/audit.groovy b/vars/audit.groovy index 71fc47d..f68f11a 100644 --- a/vars/audit.groovy +++ b/vars/audit.groovy @@ -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}"