From e01500ad0fba506c00c1015a70441ddccf89d4f1 Mon Sep 17 00:00:00 2001 From: thisfro Date: Mon, 27 Dec 2021 15:29:56 +0100 Subject: [PATCH] Run the command in the correct directory --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 95cbe40..fb25ea3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,8 +32,6 @@ node { } stage('Deploy staging') { - sh 'cd /opt/containers/pflaenz.li' - sh 'docker-compose pull' - sh 'docker-compose up -d' + sh 'cd /opt/containers/pflaenz.li && docker-compose pull && docker-compose up -d' } } \ No newline at end of file