pipeline { agent { node { label 'willa' } } stages { stage('build') { steps { sh 'docker build -t registry.willaspace.com/willaspace/$IMAGE_NAME:latest .' } } stage('deploy') { steps { sh 'cd /apps/$IMAGE_NAME/; docker-compose up -d' } } } environment { IMAGE_NAME = 'champya-front' } }