adding jenkinsfile
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user