Commit 29491a78 authored by Mame Bineta Diakite's avatar Mame Bineta Diakite

docker-dind

parent 551a299c
pipeline { pipeline {
agent any agent {
docker {
image 'docker:latest' // Utiliser l'image officielle Docker
args '--privileged' // Nécessaire pour Docker-in-Docker (DinD)
}
}
environment { environment {
DOCKER_IMAGE = "odoo-app" DOCKER_IMAGE = "odoo-app"
...@@ -17,7 +22,7 @@ pipeline { ...@@ -17,7 +22,7 @@ pipeline {
steps { steps {
checkout([ checkout([
$class: 'GitSCM', $class: 'GitSCM',
branches: [[name: '*binta']], // Remplace "main" par ta branche branches: [[name: '*/binta']], // Remplace "main" par ta branche
userRemoteConfigs: [[ userRemoteConfigs: [[
url: 'https://gitlab.baamtu.com/diopbe/odoo-demo.git', url: 'https://gitlab.baamtu.com/diopbe/odoo-demo.git',
credentialsId: "${GIT_CREDENTIALS_ID}" credentialsId: "${GIT_CREDENTIALS_ID}"
......
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