Some checks failed
Updates/Joplin/pipeline/head There was a failure building this commit
22 lines
602 B
Groovy
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
|
|
"""
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |