pub struct BuildStatusConfig {
pub context: Option<String>,
pub target_url: Option<String>,
}
Expand description
Contains information that defines how the AWS CodeBuild build project reports the build status to the source provider.
Fields§
§context: Option<String>
Specifies the context of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
name
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
context
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
target_url: Option<String>
Specifies the target url of the build status CodeBuild sends to the source provider. The usage of this parameter depends on the source provider.
- Bitbucket
-
This parameter is used for the
url
parameter in the Bitbucket commit status. For more information, see build in the Bitbucket API documentation. - GitHub/GitHub Enterprise Server
-
This parameter is used for the
target_url
parameter in the GitHub commit status. For more information, see Create a commit status in the GitHub developer guide.
Trait Implementations§
Source§impl Clone for BuildStatusConfig
impl Clone for BuildStatusConfig
Source§fn clone(&self) -> BuildStatusConfig
fn clone(&self) -> BuildStatusConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more