This commit is contained in:
parent
2873c80d5d
commit
261aa6beb5
18
Jenkinsfile
vendored
Normal file
18
Jenkinsfile
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
pipeline {
|
||||
agent { label 'Wrangler1' }
|
||||
environment {
|
||||
PROJECT_NAME = 'joplin'
|
||||
}
|
||||
stages {
|
||||
stage('Pull Docker Images') {
|
||||
steps {
|
||||
sh 'docker-compose -p $PROJECT_NAME pull'
|
||||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps {
|
||||
sh 'docker-compose -p $PROJECT_NAME up -d --force-recreate'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user