Merge branch 'staging' of https://gitlab.com/ezwaytechnology/nextcloud_custom_apps into staging
This commit is contained in:
commit
fe4de56abb
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@
|
||||
|
||||
!calendar/
|
||||
!gestion/
|
||||
!Jenkinsfile
|
||||
|
||||
!calendar/**
|
||||
!gestion/**
|
||||
|
||||
13
Jenkinsfile
vendored
Normal file
13
Jenkinsfile
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
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 pull origin staging" '''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user