From e777babcb10477f589fb9c03928333f961004d5a Mon Sep 17 00:00:00 2001 From: FaniryArilanto Date: Wed, 9 Apr 2025 11:06:54 +0300 Subject: [PATCH] modify path h2f staging --- Jenkinsfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 22b0daf..3ed4c67 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -5,18 +5,9 @@ pipeline { when { branch 'staging' } agent { label 'apache && dev' } steps { - sh '''cd /var/www/nextcloud/nextcloud/custom_apps + sh '''cd /var/www/h2f-sottye/custom_apps sudo su jenkins -c "git stash && git pull origin staging" ''' } } - - stage ("deploy h2f to dev ezway") { - when { branch 'releases/release-h2f' } - agent { label 'apache && dev' } - steps { - sh '''cd /var/www/h2f-nextcloud/custom_apps - sudo su jenkins -c "git stash && git pull origin releases/release-h2f" ''' - } - } } }