diff --git a/etc/Jenkinsfile.custom b/etc/Jenkinsfile.custom new file mode 100644 index 00000000..e80dc9c6 --- /dev/null +++ b/etc/Jenkinsfile.custom @@ -0,0 +1,28 @@ +node { + stage ('Pull Request Monitoring - Dashboard Configuration') { + monitoring ( + configuration: + ''' + { + "plugins": { + "io.jenkins.plugins.monitoring.examples.First.View1": { + "width": 4, + "height": 4, + "color": "black" + }, + "io.jenkins.plugins.monitoring.examples.First.View2": { + "width": 2, + "height": 4, + "color": "red" + }, + "io.jenkins.plugins.monitoring.examples.Second": { + "width": 4, + "height": 2, + "color": "green" + } + } + } + ''' + ) + } +} \ No newline at end of file diff --git a/etc/Jenkinsfile.default b/etc/Jenkinsfile.default new file mode 100644 index 00000000..0c9e1b2d --- /dev/null +++ b/etc/Jenkinsfile.default @@ -0,0 +1,5 @@ +node { + stage ('Pull Request Monitoring - Dashboard Configuration') { + monitoring ( ) + } +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5e096ee3..4eed9f08 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ pull-request-monitoring hpi Pull Request Monitoring - 1.0.4-beta-SNAPSHOT + ${revision}${changelist} This plugin offers a possibility to display and aggregate the results (in the form of individual views) of a pull request in a configurable dashboard. Views can only be accessed or displayed if the corresponding plugin fulfils @@ -20,7 +20,7 @@ https://github.com/jenkinsci/${project.artifactId}-plugin - 1.0.3-beta + 1.0.4-beta -SNAPSHOT 2.277.1 8