Class: DatadogAPIClient::V2::CIAppPipelineEventPipeline
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CIAppPipelineEventPipeline
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb
Overview
Details of the top level pipeline, build, or workflow of your CI.
Instance Attribute Summary collapse
-
#_end ⇒ Object
readonly
Time when the pipeline run finished.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#error ⇒ Object
Contains information of the CI error.
-
#git ⇒ Object
If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
-
#is_manual ⇒ Object
Whether or not the pipeline was triggered manually by the user.
-
#is_resumed ⇒ Object
Whether or not the pipeline was resumed after being blocked.
-
#level ⇒ Object
readonly
Used to distinguish between pipelines, stages, jobs, and steps.
-
#metrics ⇒ Object
A list of user-defined metrics.
-
#name ⇒ Object
readonly
Name of the pipeline.
-
#node ⇒ Object
Contains information of the host running the pipeline, stage, job, or step.
-
#parameters ⇒ Object
A map of key-value parameters or environment variables that were defined for the pipeline.
-
#parent_pipeline ⇒ Object
If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
-
#partial_retry ⇒ Object
readonly
Whether or not the pipeline was a partial retry of a previous attempt.
-
#pipeline_id ⇒ Object
Any ID used in the provider to identify the pipeline run even if it is not unique across retries.
-
#previous_attempt ⇒ Object
If the pipeline is a retry, this should contain the details of the previous attempt.
-
#queue_time ⇒ Object
readonly
The queue time in milliseconds, if applicable.
-
#start ⇒ Object
readonly
Time when the pipeline run started (it should not include any queue time).
-
#status ⇒ Object
readonly
The final status of the pipeline.
-
#tags ⇒ Object
A list of user-defined tags.
-
#unique_id ⇒ Object
readonly
UUID of the pipeline run.
-
#url ⇒ Object
readonly
The URL to look at the pipeline in the CI provider UI.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#_end ⇒ Object
Time when the pipeline run finished. It cannot be older than 18 hours in the past from the current time. The time format must be RFC3339.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 25 def _end @_end end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
88 89 90 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 88 def additional_properties @additional_properties end |
#error ⇒ Object
Contains information of the CI error.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 28 def error @error end |
#git ⇒ Object
If pipelines are triggered due to actions to a Git repository, then all payloads must contain this.
Note that either tag
or branch
has to be provided, but not both.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 32 def git @git end |
#is_manual ⇒ Object
Whether or not the pipeline was triggered manually by the user.
35 36 37 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 35 def is_manual @is_manual end |
#is_resumed ⇒ Object
Whether or not the pipeline was resumed after being blocked.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 38 def is_resumed @is_resumed end |
#level ⇒ Object
Used to distinguish between pipelines, stages, jobs, and steps.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 41 def level @level end |
#metrics ⇒ Object
A list of user-defined metrics. The metrics must follow the key:value
pattern and the value must be numeric.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 44 def metrics @metrics end |
#name ⇒ Object
Name of the pipeline. All pipeline runs for the builds should have the same name.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 47 def name @name end |
#node ⇒ Object
Contains information of the host running the pipeline, stage, job, or step.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 50 def node @node end |
#parameters ⇒ Object
A map of key-value parameters or environment variables that were defined for the pipeline.
53 54 55 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 53 def parameters @parameters end |
#parent_pipeline ⇒ Object
If the pipeline is triggered as child of another pipeline, this should contain the details of the parent pipeline.
56 57 58 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 56 def parent_pipeline @parent_pipeline end |
#partial_retry ⇒ Object
Whether or not the pipeline was a partial retry of a previous attempt. A partial retry is one which only runs a subset of the original jobs.
60 61 62 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 60 def partial_retry @partial_retry end |
#pipeline_id ⇒ Object
Any ID used in the provider to identify the pipeline run even if it is not unique across retries.
If the pipeline_id
is unique, then both unique_id
and pipeline_id
can be set to the same value.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 64 def pipeline_id @pipeline_id end |
#previous_attempt ⇒ Object
If the pipeline is a retry, this should contain the details of the previous attempt.
67 68 69 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 67 def previous_attempt @previous_attempt end |
#queue_time ⇒ Object
The queue time in milliseconds, if applicable.
70 71 72 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 70 def queue_time @queue_time end |
#start ⇒ Object
Time when the pipeline run started (it should not include any queue time). The time format must be RFC3339.
73 74 75 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 73 def start @start end |
#status ⇒ Object
The final status of the pipeline.
76 77 78 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 76 def status @status end |
#tags ⇒ Object
A list of user-defined tags. The tags must follow the key:value
pattern.
79 80 81 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 79 def @tags end |
#unique_id ⇒ Object
UUID of the pipeline run. The ID has to be unique across retries and pipelines, including partial retries.
83 84 85 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 83 def unique_id @unique_id end |
#url ⇒ Object
The URL to look at the pipeline in the CI provider UI.
86 87 88 |
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_pipeline.rb', line 86 def url @url end |