fixup! Web security audit base pipeline
This commit is contained in:
parent
828d9ce4e8
commit
b424895f0a
|
@ -132,8 +132,8 @@ def buildDockerImage() {
|
||||||
def dockerfile = libraryResource 'com/cadoles/w3af/Dockerfile'
|
def dockerfile = libraryResource 'com/cadoles/w3af/Dockerfile'
|
||||||
writeFile file:'Dockerfile', text:dockerfile
|
writeFile file:'Dockerfile', text:dockerfile
|
||||||
|
|
||||||
def audit = libraryResource 'com/cadoles/w3af/audit.w3af'
|
def audit = libraryResource 'com/cadoles/w3af/audit.w3af.tmpl'
|
||||||
writeFile file:'audit.w3af', text:audit
|
writeFile file:'audit.w3af.tmpl', text:audit
|
||||||
|
|
||||||
def safeJobName = URLDecoder.decode(env.JOB_NAME).toLowerCase().replace('/', '-').replace(' ', '-')
|
def safeJobName = URLDecoder.decode(env.JOB_NAME).toLowerCase().replace('/', '-').replace(' ', '-')
|
||||||
def imageTag = "${safeJobName}-${env.BUILD_ID}"
|
def imageTag = "${safeJobName}-${env.BUILD_ID}"
|
||||||
|
|
Loading…
Reference in New Issue