adding jenkinsfile

This commit is contained in:
Szakalakamaka
2020-08-25 15:35:03 +02:00
parent b6819b1d8e
commit 5bcbe6c7a7

16
Jenkinsfile vendored
View File

@@ -1,16 +1,12 @@
pipeline{ pipeline {
agent any agent any
stages { stages {
stage('Build') {
stage("build"){ steps {
sh "sudo docker-compose build"
steps{ sh "sudo docker-compose up -d"
script{
docker-compose up -d --build
}
} }
} }
} }
} }