diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e4ff1896..d456f51f 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -16,8 +16,8 @@ - - + + @@ -46,8 +46,8 @@ - - + + @@ -59,6 +59,7 @@ tag build + anchore @@ -70,8 +71,8 @@ @@ -225,16 +226,16 @@ - - + + - - + + diff --git a/Jenkinsfile b/Jenkinsfile index 5b3ac375..47116284 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -115,14 +115,14 @@ volumes:[ auth_id : config.container_repo.jenkins_creds_id, image_scanning: config.container_repo.image_scanning ) - + //commenting out this section due to the following error: java.lang.NoSuchMethodError: No such DSL method 'anchore' found among steps // anchore image scanning configuration - println "Add container image tags to anchore scanning list" + //println "Add container image tags to anchore scanning list" - def tag = image_tags_list.get(0) - def imageLine = "${config.container_repo.host}/${acct}/${config.container_repo.repo}:${tag}" + ' ' + env.WORKSPACE + '/Dockerfile' - writeFile file: 'anchore_images', text: imageLine - anchore name: 'anchore_images', inputQueries: [[query: 'list-packages all'], [query: 'list-files all'], [query: 'cve-scan all'], [query: 'show-pkg-diffs base']] + //def tag = image_tags_list.get(0) + //def imageLine = "${config.container_repo.host}/${acct}/${config.container_repo.repo}:${tag}" + ' ' + env.WORKSPACE + '/Dockerfile' + //writeFile file: 'anchore_images', text: imageLine + //anchore name: 'anchore_images', inputQueries: [[query: 'list-packages all'], [query: 'list-files all'], [query: 'cve-scan all'], [query: 'show-pkg-diffs base']] }