Class: DatadogAPIClient::V2::CIAppPipelineEventInProgressPipeline

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb

Overview

Details of a running pipeline.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



84
85
86
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 84

def additional_properties
  @additional_properties
end

#errorObject

Contains information of the CI error.



25
26
27
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 25

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.



29
30
31
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 29

def git
  @git
end

#is_manualObject

Whether or not the pipeline was triggered manually by the user.



32
33
34
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 32

def is_manual
  @is_manual
end

#is_resumedObject

Whether or not the pipeline was resumed after being blocked.



35
36
37
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 35

def is_resumed
  @is_resumed
end

#levelObject

Used to distinguish between pipelines, stages, jobs, and steps.



38
39
40
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 38

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.



41
42
43
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 41

def metrics
  @metrics
end

#nameObject

Name of the pipeline. All pipeline runs for the builds should have the same name.



44
45
46
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 44

def name
  @name
end

#nodeObject

Contains information of the host running the pipeline, stage, job, or step.



47
48
49
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 47

def node
  @node
end

#parametersObject

A map of key-value parameters or environment variables that were defined for the pipeline.



50
51
52
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 50

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.



53
54
55
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 53

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.



57
58
59
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 57

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.



61
62
63
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 61

def pipeline_id
  @pipeline_id
end

#previous_attemptObject

If the pipeline is a retry, this should contain the details of the previous attempt.



64
65
66
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 64

def previous_attempt
  @previous_attempt
end

#queue_timeObject

The queue time in milliseconds, if applicable.



67
68
69
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 67

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.



70
71
72
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 70

def start
  @start
end

#statusObject

The in progress status of the pipeline.



73
74
75
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 73

def status
  @status
end

#tagsObject

A list of user-defined tags. The tags must follow the key:value pattern.



76
77
78
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 76

def tags
  @tags
end

#unique_idObject

UUID of the pipeline run. The ID has to be the same as the finished pipeline.



79
80
81
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 79

def unique_id
  @unique_id
end

#urlObject

The URL to look at the pipeline in the CI provider UI.



82
83
84
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_in_progress_pipeline.rb', line 82

def url
  @url
end