public interface DeploymentStep
Modifier and Type | Method and Description |
---|---|
BitbucketDeploymentEnvironment |
getEnvironment(Run<?,?> run,
TaskListener listener)
Generates a
BitbucketDeploymentEnvironment from the various components. |
String |
getEnvironmentKey()
Used to populate the
environmentKey field in the UI. |
String |
getEnvironmentName()
Used to populate the
environmentName field in the UI. |
String |
getEnvironmentType()
Used to populate the
environmentType field in the UI. |
String |
getEnvironmentUrl()
Used to populate the
environmentUrl field in the UI. |
BitbucketDeploymentEnvironment getEnvironment(Run<?,?> run, TaskListener listener)
BitbucketDeploymentEnvironment
from the various components.run
- the run that is performing the deploymentslistener
- the TaskListener
BitbucketDeploymentEnvironment
String getEnvironmentKey()
environmentKey
field in the UI.@CheckForNull String getEnvironmentName()
environmentName
field in the UI.null
if not configured@CheckForNull String getEnvironmentType()
environmentType
field in the UI.Enum.name()
or null
if not configured@CheckForNull String getEnvironmentUrl()
environmentUrl
field in the UI.null
if not configuredCopyright © 2016–2022. All rights reserved.