Merge branch 'fix/adjust-cicd-config-after-changing-repo' into 'staging'

modify path h2f staging

See merge request sottye/h2f!1
This commit is contained in:
Faniry Arilanto 2025-04-09 08:09:56 +00:00
commit 80a19c3a6c

11
Jenkinsfile vendored
View File

@ -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" '''
}
}
}
}