Class: DatadogAPIClient::V2::CIAppPipelineEventPipeline

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#_endObject

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_propertiesObject

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

#errorObject

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

#gitObject

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_manualObject

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_resumedObject

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

#levelObject

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

#metricsObject

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

#nameObject

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

#nodeObject

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

#parametersObject

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_pipelineObject

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_retryObject

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_idObject

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_attemptObject

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_timeObject

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

#startObject

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

#statusObject

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

#tagsObject

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
  @tags
end

#unique_idObject

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

#urlObject

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