fastlane-plugin-jira_set_feature_build 1.0.4 → 1.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: defb9a27e9d9de69475f054ea54f6490d83c280223045333dc8d413c17722a22
|
4
|
+
data.tar.gz: fb8bb426f1d9758f011db5594204971f54b3b9b8d1970b3c56524689d922335b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c93a75255247f928fbb34294de4a2d325a01293e75fe725621c1f39679f0a0d42ddbe0b25f3c0966938ed5843dd309940d9bda69d0707dc6787bc8e89edb8900
|
7
|
+
data.tar.gz: 691331550773de9b708486731533393c0c0d669ce8489a75e9c005fbfb8408850493bba100d4bf40463eb72037f43b3a203ce821fc485884ce3c6975c5ab84c8
|
@@ -92,7 +92,10 @@ module Fastlane
|
|
92
92
|
|
93
93
|
def self.details
|
94
94
|
"This action requires jira-ruby gem"
|
95
|
-
|
95
|
+
end
|
96
|
+
|
97
|
+
def self.is_supported?(platform)
|
98
|
+
true
|
96
99
|
end
|
97
100
|
|
98
101
|
def self.available_options
|
@@ -104,52 +107,48 @@ module Fastlane
|
|
104
107
|
verify_block: proc do |value|
|
105
108
|
UI.user_error!("No url for Jira given, pass using `url: 'url'`") unless value and !value.empty?
|
106
109
|
end),
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
end
|
153
|
-
end
|
154
|
-
end
|
155
|
-
end
|
110
|
+
FastlaneCore::ConfigItem.new(key: :username,
|
111
|
+
env_name: "FL_CREATE_JIRA_VERSION_USERNAME",
|
112
|
+
description: "Username for JIRA instance",
|
113
|
+
type: String,
|
114
|
+
verify_block: proc do |value|
|
115
|
+
UI.user_error!("No username given, pass using `username: 'jira_user'`") unless value and !value.empty?
|
116
|
+
end),
|
117
|
+
FastlaneCore::ConfigItem.new(key: :password,
|
118
|
+
env_name: "FL_CREATE_JIRA_VERSION_PASSWORD",
|
119
|
+
description: "Password for Jira",
|
120
|
+
type: String,
|
121
|
+
verify_block: proc do |value|
|
122
|
+
UI.user_error!("No password given, pass using `password: 'T0PS3CR3T'`") unless value and !value.empty?
|
123
|
+
end),
|
124
|
+
FastlaneCore::ConfigItem.new(key: :project_name,
|
125
|
+
env_name: "FL_CREATE_JIRA_VERSION_PROJECT_NAME",
|
126
|
+
description: "Project ID for the JIRA project. E.g. the short abbreviation in the JIRA ticket tags",
|
127
|
+
type: String,
|
128
|
+
optional: true,
|
129
|
+
conflicting_options: [:project_id],
|
130
|
+
conflict_block: proc do |value|
|
131
|
+
UI.user_error!("You can't use 'project_name' and '#{project_id}' options in one run")
|
132
|
+
end,
|
133
|
+
verify_block: proc do |value|
|
134
|
+
UI.user_error!("No Project ID given, pass using `project_id: 'PROJID'`") unless value and !value.empty?
|
135
|
+
end),
|
136
|
+
FastlaneCore::ConfigItem.new(key: :feature_build_url,
|
137
|
+
env_name: "FL_CREATE_JIRA_FEATURE_BUILD_URL",
|
138
|
+
description: "The url of the feature build from the CI job",
|
139
|
+
type: String,
|
140
|
+
verify_block: proc do |value|
|
141
|
+
UI.user_error!("No URL given, pass using `feature_build_url: 'http://someurl'`") unless value and !value.empty?
|
142
|
+
end),
|
143
|
+
FastlaneCore::ConfigItem.new(key: :ticket_reference,
|
144
|
+
env_name: "FL_CREATE_JIRA_TICKET_REFERENCE",
|
145
|
+
description: "The ticket reference on JIRA",
|
146
|
+
type: String,
|
147
|
+
verify_block: proc do |value|
|
148
|
+
UI.user_error!("No ticket reference given, pass using `ticket_reference: 'APPS-1234'`") unless value and !value.empty?
|
149
|
+
end),
|
150
|
+
]
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
154
|
+
end
|