adding jenkinsfile

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

10
Jenkinsfile vendored
View File

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