java.lang.Object
org.kohsuke.github.GHDeploymentBuilder
The type GHDeploymentBuilder.
-
Constructor Summary
ConstructorDescriptionInstantiates a new Gh deployment builder.GHDeploymentBuilder
(GHRepository repo, String ref) Instantiates a new Gh deployment builder. -
Method Summary
Modifier and TypeMethodDescriptionautoMerge
(boolean autoMerge) Auto merge gh deployment builder.create()
Create gh deployment.description
(String description) Description gh deployment builder.environment
(String environment) Environment gh deployment builder.Payload gh deployment builder.productionEnvironment
(boolean productionEnvironment) Specifies if the given environment is one that end-users directly interact with.Ref gh deployment builder.requiredContexts
(List<String> requiredContexts) Required contexts gh deployment builder.Task gh deployment builder.transientEnvironment
(boolean transientEnvironment) Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future.
-
Constructor Details
-
GHDeploymentBuilder
Instantiates a new Gh deployment builder.- Parameters:
repo
- the repo
-
GHDeploymentBuilder
Instantiates a new Gh deployment builder.- Parameters:
repo
- the reporef
- the ref
-
-
Method Details
-
ref
Ref gh deployment builder.- Parameters:
branch
- the branch- Returns:
- the gh deployment builder
-
task
Task gh deployment builder.- Parameters:
task
- the task- Returns:
- the gh deployment builder
-
autoMerge
Auto merge gh deployment builder.- Parameters:
autoMerge
- the auto merge- Returns:
- the gh deployment builder
-
requiredContexts
Required contexts gh deployment builder.- Parameters:
requiredContexts
- the required contexts- Returns:
- the gh deployment builder
-
payload
Payload gh deployment builder.- Parameters:
payload
- the payload- Returns:
- the gh deployment builder
-
environment
Environment gh deployment builder.- Parameters:
environment
- the environment- Returns:
- the gh deployment builder
-
transientEnvironment
Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future.- Parameters:
transientEnvironment
- the environment is transient- Returns:
- the gh deployment builder
-
productionEnvironment
Specifies if the given environment is one that end-users directly interact with.- Parameters:
productionEnvironment
- the environment is used by end-users directly- Returns:
- the gh deployment builder
-
description
Description gh deployment builder.- Parameters:
description
- the description- Returns:
- the gh deployment builder
-
create
Create gh deployment.- Returns:
- the gh deployment
- Throws:
IOException
- the io exception
-