Package sh.createos.jenkins.sandbox
Class CreateOSPipelineSupport
java.lang.Object
sh.createos.jenkins.sandbox.CreateOSPipelineSupport
Helper methods called by the trusted declarative Pipeline agent script.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringregister(CreateOSDeclarativeAgent agent, String label) Registers a generated-label template for one Pipeline agent body.static voidunregister(String label) Removes a generated-label template after the Pipeline agent body exits.
-
Method Details
-
register
Registers a generated-label template for one Pipeline agent body. -
unregister
Removes a generated-label template after the Pipeline agent body exits.
-