diff --git a/Jenkinsfile b/Jenkinsfile index 2ad619c2..ec52c4dc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,6 +32,19 @@ pipeline { always { echo 'This pipeline is completed..' } +stage('Deploy to Dev') { + when { +beforeAgent true +branch 'master' +} +agent any +steps { +echo 'Deploying to Dev Compose' +sh 'docker-compose up -d' +} +} + + } -} \ No newline at end of file +}