Package io.jenkins.plugins.context
Class PipelineEnvContext
java.lang.Object
io.jenkins.plugins.context.PipelineEnvContext
Collects the environment variables defined while a pipeline runs, so that they are available
when the notification content is rendered at the end of the build.
The variables are held on the build itself, in a PipelineEnvAction, so their lifetime
matches the build's and concurrent builds cannot observe each other's values.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PipelineEnvContext
public PipelineEnvContext()
-
-
Method Details
-
merge
-
get
-
reset
Drops the cache once the notification has been sent. The build record is saved afteronCompletedhas run, so removing the action here also keeps it out of the saved build.
-