Skip to content
Snippets Groups Projects
Commit 33238a82 authored by MOREY Thibault's avatar MOREY Thibault
Browse files

Update Jenkinsfile

parent ba7f5f6d
No related branches found
No related tags found
No related merge requests found
......@@ -16,13 +16,17 @@ node{
}
stage('Test image') {
docker.image('debian:buster').withRun('-p 81:81') { c ->
docker.image('debian:buster').withRun() { c ->
sh 'docker ps'
}
stage(' Scan Dockle'){
stage('Scan Dockle'){
sh 'dockle debian:buster > rapportDockle'
}
stage('Scan Clair '){
sh './clair-scanner --ip localhost debian:buster'
}
stage('Push on repo nexus')
docker.withRegistry(registryProject,'reg2'){
img.push 'latest'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment