jenkins_pipeline_builder 1.5.1 → 1.5.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 40dedb407466d4dbcdca1495e4b10b95dad3d027761eabf815980850f7d55d0c
|
|
4
|
+
data.tar.gz: 013341f2abbff6d1ec00bf731b20bc615347ea7693afefc459662b2ad4da9c0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c1b776786e820aa08f386c3aa5658f3a6c4fca69f8b2457885fe8751e91f9d83b3e1329c1ba9c0cf23bca314e493de22c569ba48dabc89d043048aa073cde94
|
|
7
|
+
data.tar.gz: 8dade49ffff55821f81e760d3f37315b3e3355b1a2d804451c810dbdfb978cd9f3e1044f65ec2d7da42eb3064789d747b274a3d4b8776de7248c382c148046e7
|
|
@@ -229,7 +229,8 @@ publisher do
|
|
|
229
229
|
send('hudson.tasks.junit.JUnitResultArchiver') do
|
|
230
230
|
testResults params[:test_results] || ''
|
|
231
231
|
keepLongStdio false
|
|
232
|
-
|
|
232
|
+
healthScaleFactor 1.0
|
|
233
|
+
allowEmptyResults params[:allow_empty_results] || false
|
|
233
234
|
end
|
|
234
235
|
end
|
|
235
236
|
end
|
|
@@ -411,7 +411,20 @@ describe 'publishers' do
|
|
|
411
411
|
end
|
|
412
412
|
|
|
413
413
|
context 'junit_result' do
|
|
414
|
-
it 'generates a configuration'
|
|
414
|
+
it 'generates a configuration' do
|
|
415
|
+
params = { publishers: { junit_result: {} } }
|
|
416
|
+
|
|
417
|
+
JenkinsPipelineBuilder.registry.traverse_registry_path('job', params, @n_xml)
|
|
418
|
+
|
|
419
|
+
publisher = @n_xml.root.children.first
|
|
420
|
+
expect(publisher.name).to match 'hudson.tasks.junit.JUnitResultArchiver'
|
|
421
|
+
children = publisher.children.map(&:name)
|
|
422
|
+
|
|
423
|
+
expect(children).to include 'testResults'
|
|
424
|
+
expect(children).to include 'keepLongStdio'
|
|
425
|
+
expect(children).to include 'healthScaleFactor'
|
|
426
|
+
expect(children).to include 'allowEmptyResults'
|
|
427
|
+
end
|
|
415
428
|
end
|
|
416
429
|
|
|
417
430
|
context 'coverage_result' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jenkins_pipeline_builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Moochnick
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-12-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -484,7 +484,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
484
484
|
version: '0'
|
|
485
485
|
requirements: []
|
|
486
486
|
rubyforge_project:
|
|
487
|
-
rubygems_version: 2.
|
|
487
|
+
rubygems_version: 2.7.3
|
|
488
488
|
signing_key:
|
|
489
489
|
specification_version: 4
|
|
490
490
|
summary: This gem is will boostrap your Jenkins pipelines
|