modify path h2f staging

This commit is contained in:
FaniryArilanto 2025-04-09 11:06:54 +03:00
parent 26d0ecaa70
commit e777babcb1

11
Jenkinsfile vendored
View File

@ -5,18 +5,9 @@ pipeline {
when { branch 'staging' } when { branch 'staging' }
agent { label 'apache && dev' } agent { label 'apache && dev' }
steps { 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" ''' 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" '''
}
}
} }
} }