Skip to content

Commit

Permalink
commented out image scanning section
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonkey committed Feb 23, 2018
1 parent bffe4be commit 3f5d0cf
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
19 changes: 10 additions & 9 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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']]

}

Expand Down

0 comments on commit 3f5d0cf

Please sign in to comment.