Joplin/Jenkinsfile
Adam Outler 8f2cca8c79
Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit
Update Jenkinsfile
2025-04-01 22:09:35 +00:00

22 lines
602 B
Groovy

pipeline {
agent { label 'Wrangler1' }
environment {
PROJECT_NAME = 'joplin'
}
stages {
stage('Pull Docker Images') {
steps {
sh 'docker compose pull'
}
}
stage('Deploy') {
steps {
withCredentials([string(credentialsId: 'google-email-apps-password', variable: 'GOOGLE_APP_PASSWORD')]) {
sh """
COMPOSE_PROJECT_NAME=${PROJECT_NAME} docker compose up -d --force-recreate
"""
}
}
}
}
}