From 846672c723b0d5f19693582da53736b9f0a7f3c9 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 19 Sep 2023 21:17:02 +0200 Subject: [PATCH] try without docker --- automation/Jenkinsfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/automation/Jenkinsfile b/automation/Jenkinsfile index 0692fa8..6d6b053 100644 --- a/automation/Jenkinsfile +++ b/automation/Jenkinsfile @@ -1,21 +1,21 @@ pipeline { - agent { - dockerfile { - dir 'automation' - reuseNode true - } - } + //agent { + //dockerfile { + //dir 'automation' + //reuseNode true + //} + //} + agent any stages { stage('Deployment') { when { branch 'main' } steps { - sh 'echo Hello World' - // sshagent(credentials: ['documentation-buildfix']) { + sshagent(credentials: ['documentation-buildfix']) { // Deploy to Apache webserver - // sh 'rsync -r --delete --exclude projects/* --exclude static/font-univers . buildfix@documentation.irs.uni-stuttgart.de:/' - // } + sh 'rsync -r --delete --exclude projects/* --exclude static/font-univers . buildfix@documentation.irs.uni-stuttgart.de:/' + } } } }