java.lang.Object
org.kohsuke.github.GHDeploymentStatusBuilder
Creates a new deployment status.
-
Method Summary
Modifier and TypeMethodDescriptionautoInactive
(boolean autoInactive) Add an inactive status to all prior non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment.create()
Create gh deployment status.description
(String description) Description gh deployment status builder.environment
(String environment) Name for the target deployment environment, which can be changed when setting a deploy status.environmentUrl
(String environmentUrl) The URL for accessing the environment.The full URL of the deployment's output.
-
Method Details
-
autoInactive
Add an inactive status to all prior non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment.- Parameters:
autoInactive
- Add inactive status flag- Returns:
- the gh deployment status builder
-
description
Description gh deployment status builder.- Parameters:
description
- the description- Returns:
- the gh deployment status builder
-
environment
Name for the target deployment environment, which can be changed when setting a deploy status.- Parameters:
environment
- the environment name- Returns:
- the gh deployment status builder
-
environmentUrl
The URL for accessing the environment.- Parameters:
environmentUrl
- the environment url- Returns:
- the gh deployment status builder
-
logUrl
The full URL of the deployment's output.- Parameters:
logUrl
- the deployment output url- Returns:
- the gh deployment status builder
-
create
Create gh deployment status.- Returns:
- the gh deployment status
- Throws:
IOException
- the io exception
-