modify path h2f staging
This commit is contained in:
parent
26d0ecaa70
commit
e777babcb1
11
Jenkinsfile
vendored
11
Jenkinsfile
vendored
@ -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" '''
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user