Commit 0fedb4ed authored by Ndoumbe's avatar Ndoumbe

Update Jenkinsfile

parent 386265f4
......@@ -42,7 +42,7 @@ pipeline {
steps {
sh 'docker build -t ndiop/repo1:odoo-15.0 .'
withCredentials([usernamePassword(credentialsId: 'docker-hub-ndiop', passwordVariable: 'Password', usernameVariable: 'Username')]) {
sh "docker login -u ${Username} -p ${Password}"
sh ('docker login -u ${env.Username} -p ${env.Password}')
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