Add Jenkinsfile
All checks were successful
Updates/Joplin/pipeline/head This commit looks good

This commit is contained in:
Adam Outler 2025-03-30 00:45:37 +00:00
parent 2873c80d5d
commit 261aa6beb5

18
Jenkinsfile vendored Normal file
View 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'
}
}
}
}