Skip to content

Commit

Permalink
Testing Aqua Microscanner
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Oct 2, 2018
1 parent 454e7c6 commit 1f1797d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ pipeline {
docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-$maintainer") {
def baseImg = docker.build("$maintainer/$imagename", "--no-cache .")
// test the environment
aquaMicroscanner imageName: "$maintainer/$imagename"
sh 'cd test-compose && ./compose.sh'
// bring down after testing
sh 'cd test-compose && docker-compose down'
baseImg.push("$tag")

}
}
}
Expand Down

0 comments on commit 1f1797d

Please sign in to comment.