adding jenkinsfile
This commit is contained in:
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
@@ -1,16 +1,12 @@
|
||||
pipeline{
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
|
||||
stage("build"){
|
||||
|
||||
steps{
|
||||
script{
|
||||
docker-compose up -d --build
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh "sudo docker-compose build"
|
||||
sh "sudo docker-compose up -d"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user