Thanasoft-H2F/Jenkinsfile
2024-12-26 11:20:55 +03:00

14 lines
283 B
Groovy

pipeline {
agent any
stages {
stage ("deploy to dev ezway") {
when { branch 'staging' }
agent { label 'apache && dev' }
steps {
sh '''cd /var/www/nextcloud/nextcloud/custom_apps
sudo su jenkins -c "git stash && git pull origin staging" '''
}
}
}
}