nextcloud: add jenkins job

This commit is contained in:
Schneider Roland
2024-10-13 14:10:12 +02:00
parent f36c998bc3
commit 7c5c66dcf4
2 changed files with 18 additions and 0 deletions

View File

@@ -8,6 +8,23 @@ pipeline {
ls -lah
'''
echo 'Hello World'
sshPublisher(publishers: [sshPublisherDesc(configName: 'infra.1', transfers: [sshTransfer(cleanRemote: false, excludes: '', execCommand: '''cd /home/rschneider/infra
git pull
cd /home/rschneider/infra/nextcloud/docker-compose
docker compose down
docker compose up -d
''', execTimeout: 120000,
flatten: false,
makeEmptyDirs: false,
noDefaultExcludes: false,
patternSeparator: '[, ]+',
remoteDirectory: '',
remoteDirectorySDF: false,
removePrefix: '', sourceFiles: '')],
usePromotionTimestamp: false,
useWorkspaceInPromotion: false,
verbose: true)])
}
}
}