public class RelizaBuildWrapper extends SimpleBuildWrapper
SimpleBuildWrapper which sets up the reliza wrapper to perform api calls to reliza hub.| Modifier and Type | Class and Description |
|---|---|
static class |
RelizaBuildWrapper.DescriptorImpl |
SimpleBuildWrapper.Context, SimpleBuildWrapper.DisposerBuildWrapper.EnvironmentExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
RelizaBuildWrapper()
Buildwrapper initialization with no required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setCustomVersionMeta(String customMetadata)
Sets up optional parameters from buildwrapper initialization.
|
void |
setCustomVersionModifier(String modifier)
Sets up optional parameters from buildwrapper initialization.
|
void |
setEnvSuffix(String envSuffix)
Sets up optional parameters from buildwrapper initialization.
|
void |
setGetVersion(String getVersion)
Sets up optional parameters from buildwrapper initialization.
|
void |
setJenkinsVersionMeta(String metadata)
Sets up optional parameters from buildwrapper initialization.
|
void |
setOnlyVersion(String onlyVersion)
Sets up optional parameters from buildwrapper initialization.
|
void |
setProjectId(String projectId)
Sets up optional parameters from buildwrapper initialization.
|
void |
setUp(SimpleBuildWrapper.Context context,
Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener,
EnvVars initialEnvironment) |
void |
setUri(String uri)
Sets up optional parameters from buildwrapper initialization.
|
createContext, createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUpall, getProjectAction, setUpgetDescriptor@DataBoundConstructor public RelizaBuildWrapper()
@DataBoundSetter public void setProjectId(String projectId)
projectId - - Project UUID obtainable from reliza hub.@DataBoundSetter public void setUri(String uri)
uri - - Base uri of api call, default set to "https://app.relizahub.com".@DataBoundSetter public void setJenkinsVersionMeta(String metadata)
metadata - - if true, will set metadata flag on getversion call to Jenkins.@DataBoundSetter public void setCustomVersionMeta(String customMetadata)
customMetadata - - Sets custom version metadata and will override useJenkinsVersionMeta.@DataBoundSetter public void setCustomVersionModifier(String modifier)
modifier - - will set modifier flag on getversion call@DataBoundSetter public void setOnlyVersion(String onlyVersion)
onlyVersion - - Flag to skip creation of the release.@DataBoundSetter public void setGetVersion(String getVersion)
getVersion - - Flag to determine whether version information will be gotten from Reliza Hub or not.@DataBoundSetter public void setEnvSuffix(String envSuffix)
envSuffix - - Flag which adds a suffix to all environment variables to differentiate from other addRelizaRelease calls.public void setUp(SimpleBuildWrapper.Context context, Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException
Retrieves preset credentials and parameters to perform getVersion api call and then sets received information as environment variables to pass to subsequent addRelease call.
setUp in class SimpleBuildWrapperIOExceptionInterruptedExceptionCopyright © 2016–2023. All rights reserved.