itriagetestrail 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/itriagetestrail/version.rb +1 -1
- data/lib/itriagetestrail.rb +0 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 342ab667415e31ab6cca5651d2c7765dbadf1a0f
|
|
4
|
+
data.tar.gz: 6b46665918dd6cb35d37e3f3950a9913ce364467
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18cafe47d3a5b9a4b86ecaab960b135b5b4884949a4190b996fb09ae7fc28266dd2942dd90f2e3b4e38111f658ae92b6c7bed32589fb868815ddbbe395e3b458
|
|
7
|
+
data.tar.gz: f30a73f0605997b279c7172f8d39339c13cf6355dc21ff59382165bb81f954b3838d313151b6ef29f6e10eb24510c6308e92f6d3b57c32445941bbf4eccd649e
|
data/lib/itriagetestrail.rb
CHANGED
|
@@ -21,7 +21,6 @@ module Itriagetestrail
|
|
|
21
21
|
@setup = false
|
|
22
22
|
@testrail_config = testrail_config
|
|
23
23
|
@milestone_name = normalize_milestone
|
|
24
|
-
puts "milestone name (after normalize): #{@milestone_name}"
|
|
25
24
|
@jenkins_build = @testrail_config[:jenkinsBuild]
|
|
26
25
|
@app_version = @testrail_config[:appVersion]
|
|
27
26
|
|
|
@@ -63,7 +62,6 @@ module Itriagetestrail
|
|
|
63
62
|
testrail_ids
|
|
64
63
|
|
|
65
64
|
@milestone_id = fetch_milestone(@milestone_name)
|
|
66
|
-
puts "after fetch_milestone MN: #{@milestone_name}, MID: #{@milestone_id}"
|
|
67
65
|
|
|
68
66
|
add_testrail_run
|
|
69
67
|
|
|
@@ -92,14 +90,11 @@ module Itriagetestrail
|
|
|
92
90
|
end
|
|
93
91
|
|
|
94
92
|
def normalize_milestone
|
|
95
|
-
puts "origin: #{testrail_config[:origin]}"
|
|
96
|
-
puts "masterMilestone: #{testrail_config[:masterMilestone]}"
|
|
97
93
|
case origin
|
|
98
94
|
when 'local', ''
|
|
99
95
|
'Local'
|
|
100
96
|
when 'master', 'origin/master'
|
|
101
97
|
if @testrail_config[:masterMilestone].nil? || @testrail_config[:masterMilestone].empty?
|
|
102
|
-
puts ':masterMilestone is undefined'
|
|
103
98
|
'Master'
|
|
104
99
|
else
|
|
105
100
|
@testrail_config[:masterMilestone]
|
|
@@ -120,7 +115,6 @@ module Itriagetestrail
|
|
|
120
115
|
res = project['id'] if project['name'] == @testrail_config[:projectName]
|
|
121
116
|
end
|
|
122
117
|
if res == -1
|
|
123
|
-
puts "TestRail Project Not found for #{@testrail_config[:projectName]}"
|
|
124
118
|
@execute = false
|
|
125
119
|
return
|
|
126
120
|
end
|