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

22 lines
647 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 """
GOOGLE_APP_PASSWORD="${GOOGLE_APP_PASSWORD}" COMPOSE_PROJECT_NAME=${PROJECT_NAME} docker compose up -d --force-recreate
"""
}
}
}
}
}