Skip to content
Snippets Groups Projects
Commit 19d05729 authored by LEKHLAIKH Taha's avatar LEKHLAIKH Taha
Browse files

Merge branch 'correction' into 'master'

Correction

See merge request !1
parents 18cae31a 8ab29be8
Branches
Tags 1.56-release
1 merge request!1Correction
......@@ -3,13 +3,13 @@ pipeline {
stages {
stage ('Checkout') {
agent any
steps {
echo "Exo1: checkout"
checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'scmadmin', url: 'http://scm:8080/scm/repo/scmadmin/flask_jenkins/code/sources/master/']]])
}
}
// stage ('Checkout') {
// agent any
// steps {
// echo "Exo1: checkout"
// checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 'scmadmin', url: 'http://scm:8080/scm/repo/scmadmin/flask_jenkins/code/sources/master/']]])
// }
// }
stage ('Test') {
parallel{
stage ('Test unitaire'){
......@@ -116,9 +116,10 @@ pipeline {
steps {
script {
docker.withRegistry('http://localhost:5000') {
docker.build("flask_deploy:${env.BUILD_ID}", ".").push()
}
docker.build("flask_deploy:${env.BUILD_ID}", ".")
// docker.withRegistry('http://localhost:5000') {
// docker.build("flask_deploy:${env.BUILD_ID}", ".").push()
// }
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment