Commit 386265f4 authored by Ndoumbe's avatar Ndoumbe

Update Jenkinsfile

parent e76e36a3
...@@ -42,7 +42,7 @@ pipeline { ...@@ -42,7 +42,7 @@ pipeline {
steps { steps {
sh 'docker build -t ndiop/repo1:odoo-15.0 .' sh 'docker build -t ndiop/repo1:odoo-15.0 .'
withCredentials([usernamePassword(credentialsId: 'docker-hub-ndiop', passwordVariable: 'Password', usernameVariable: 'Username')]) { withCredentials([usernamePassword(credentialsId: 'docker-hub-ndiop', passwordVariable: 'Password', usernameVariable: 'Username')]) {
sh ('docker login -u ${Username} -p ${Password}') sh "docker login -u ${Username} -p ${Password}"
sh 'docker push ndiop/repo1:odoo-15.0' sh 'docker push ndiop/repo1:odoo-15.0'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment