Skip to content

Working och getting Pipeline support for Jenkins Plot Plugin

License

Notifications You must be signed in to change notification settings

MarkusDNC/plot-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plot Plugin for Jenkins

Support

Currently this plugin supports Pipeline by choosing Plot build from step: General Build Step in the Snippet Generator.

This standalone plugin only supports Pipeline projects. Install original Plot plugin [found here] (https://wiki.jenkins-ci.org/display/JENKINS/Plot+Plugin) for additional Freestyle and Matrix support.

Installation

A prebuild plot-pipeline.hpi can be found in the target folder.

or

Install [Maven] (https://maven.apache.org/guides/getting-started/windows-prerequisites.html) and use it to create a .hpi with:

mvn install

This will create the file plot-plugin.hpi in the target folder. Upload this file in your plugin handler in Jenkins under the Advanced tab.

Using

In a Pipeline project, choose Snippet Generator (Pipeline Syntax in Jenkins v2.x), select step: General Build Step. Now in Build Step select Plot build. Now you are presented with the form where you fill in the desired values before pressing Generate Groovy. It should look something like this:

step([$class: 'PlotBuilder', csvFileName: 'foo-bar.csv', csvSeries: [[displayTableFlag: false, exclusionValues: '', file: 'data.plot', inclusionFlag: 'OFF', url: '']], exclZero: false, group: 'Group1', keepRecords: false, logarithmic: false, numBuilds: '30', style: 'line', title: 'Title2', useDescr: false, yaxis: 'Sample', yaxisMaximum: '', yaxisMinimum: ''])

About

Working och getting Pipeline support for Jenkins Plot Plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published