rundeck-plugins / webdav-logstore

Store execution logs in a WebDAV repository
0 stars 2 forks source link

This plugin stores Rundeck execution logs in a WebDAV repository. Execution logs are stored in a user defined path.

This plugin was developed and tested against Apache2 and mod_dav.

Build

gradle clean build

The build target will be found in build/libs. Eg,

cp build/libs/rundeck-webdav-logstore-plugin-2.1.0.jar $RDECK_BASE/libext

Installation

Copy the plugin JAR file to the RDECK_BASE/libext directory.

Configuration

Update the rundeck-config.properties by adding the plugin name webdav-logstore:

rundeck.execution.logs.fileStoragePlugin=webdav-logstore

Add WebDAV connection info to the /etc/rundeck/framework.properties:

framework.plugin.ExecutionFileStorage.webdav-logstore.webdavUrl = $WEBDAV_URL
framework.plugin.ExecutionFileStorage.webdav-logstore.webdavUsername = admin
framework.plugin.ExecutionFileStorage.webdav-logstore.webdavPassword = admin
framework.plugin.ExecutionFileStorage.webdav-logstore.path = rundeck/projects/${job.project}/${job.execid}.rdlog