Class VManagerChartHelperStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.vmanager.charts.VManagerChartHelperStep
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class VManagerChartHelperStep
extends org.jenkinsci.plugins.workflow.steps.Step
Pipeline step
vManagerChartHelper: copies the conventional
vManager Charts input files from the agent workspace into the build's
controller-side run directory (next to the log), so that
CustomMetricsRunListener can
find them after the build completes.
The following files are copied if they exist in the current workspace:
${BUILD_NUMBER}.${BUILD_ID}.session_launch.output${BUILD_NUMBER}.${BUILD_ID}.sessions.inputvmanager-charts-config.json
Missing files are silently skipped. Existing files at the destination
are overwritten. Must be invoked inside a node { } block so that
a workspace is available.
Pipeline usage:
node('linux') {
// ... vManager Jenkins Plugin produced its .sessions.input here ...
vManagerChartHelper()
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
VManagerChartHelperStep
@DataBoundConstructor public VManagerChartHelperStep()
-
-
Method Details