nextcloud: add jenkins job
This commit is contained in:
parent
ee9ca718e7
commit
ddd9fb08af
7
nextcloud/jenkins/Jenkinsfile
vendored
7
nextcloud/jenkins/Jenkinsfile
vendored
@ -2,13 +2,8 @@ pipeline {
|
|||||||
agent any
|
agent any
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
stage('Hello') {
|
stage('Git pull && docker compose restart') {
|
||||||
steps {
|
steps {
|
||||||
sh '''
|
|
||||||
ls -lah
|
|
||||||
'''
|
|
||||||
echo 'Hello World'
|
|
||||||
|
|
||||||
sshPublisher(publishers: [sshPublisherDesc(configName: 'infra.1', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '''cd /home/rschneider/infra
|
sshPublisher(publishers: [sshPublisherDesc(configName: 'infra.1', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '''cd /home/rschneider/infra
|
||||||
git pull
|
git pull
|
||||||
cd /home/rschneider/infra/nextcloud/docker-compose/nextcloud
|
cd /home/rschneider/infra/nextcloud/docker-compose/nextcloud
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user