Class: Datadog::CI::Ext::Environment::Providers::Base
- Inherits:
-
Object
- Object
- Datadog::CI::Ext::Environment::Providers::Base
show all
- Defined in:
- lib/datadog/ci/ext/environment/providers/base.rb
Direct Known Subclasses
Appveyor, Azure, Bitbucket, Bitrise, Buddy, Buildkite, Circleci, Codefresh, GithubActions, Gitlab, Jenkins, LocalGit, Teamcity, Travis, UserDefinedTags
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(env) ⇒ Base
Returns a new instance of Base.
11
12
13
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 11
def initialize(env)
@env = env
end
|
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env.
9
10
11
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 9
def env
@env
end
|
Instance Method Details
#ci_env_vars ⇒ Object
48
49
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 48
def ci_env_vars
end
|
#git_branch ⇒ Object
51
52
53
54
55
56
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 51
def git_branch
return @branch if defined?(@branch)
set_branch_and_tag
@branch
end
|
#git_branch_or_tag ⇒ Object
68
69
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 68
def git_branch_or_tag
end
|
#git_commit_author_date ⇒ Object
71
72
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 71
def git_commit_author_date
end
|
#git_commit_author_email ⇒ Object
74
75
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 74
def git_commit_author_email
end
|
#git_commit_author_name ⇒ Object
77
78
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 77
def git_commit_author_name
end
|
#git_commit_committer_date ⇒ Object
80
81
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 80
def git_commit_committer_date
end
|
#git_commit_committer_email ⇒ Object
83
84
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 83
def git_commit_committer_email
end
|
#git_commit_committer_name ⇒ Object
86
87
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 86
def git_commit_committer_name
end
|
#git_commit_message ⇒ Object
89
90
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 89
def git_commit_message
end
|
#git_commit_sha ⇒ Object
92
93
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 92
def git_commit_sha
end
|
#git_repository_url ⇒ Object
58
59
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 58
def git_repository_url
end
|
#git_tag ⇒ Object
61
62
63
64
65
66
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 61
def git_tag
return @tag if defined?(@tag)
set_branch_and_tag
@tag
end
|
#job_name ⇒ Object
15
16
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 15
def job_name
end
|
#job_url ⇒ Object
18
19
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 18
def job_url
end
|
#node_labels ⇒ Object
42
43
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 42
def node_labels
end
|
#node_name ⇒ Object
45
46
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 45
def node_name
end
|
#pipeline_id ⇒ Object
21
22
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 21
def pipeline_id
end
|
#pipeline_name ⇒ Object
24
25
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 24
def pipeline_name
end
|
#pipeline_number ⇒ Object
27
28
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 27
def pipeline_number
end
|
#pipeline_url ⇒ Object
30
31
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 30
def pipeline_url
end
|
#provider_name ⇒ Object
33
34
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 33
def provider_name
end
|
#stage_name ⇒ Object
36
37
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 36
def stage_name
end
|
#workspace_path ⇒ Object
39
40
|
# File 'lib/datadog/ci/ext/environment/providers/base.rb', line 39
def workspace_path
end
|