jenkins-builder 0.1.5 → 0.1.6
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/Gemfile.lock +6 -6
- data/lib/jenkins/builder/app.rb +6 -5
- data/lib/jenkins/builder/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8b209297de2b2cd6d62f0bf706183c9e3bee95afb241c414b9d4f36a6212245
|
|
4
|
+
data.tar.gz: 5cb72fead99328e598dbe12de2d63bc6e99a0d527ccd926880863721ac3e0ba0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 238a4c4613fef743649e793fa2add8bee79c667cf26fd3077d67921c8266633a4f78ea5b5053319a76ffe3540e28e52e3ee7ef0b88e026e24b0847bd9fc9cae5
|
|
7
|
+
data.tar.gz: 34720b7470b71d88cb9c742f0976a2cf1c4827d48b4956c219fb4c6d8cc33143f49de92d83a6c1f92b674f267772f043cccd306fff88de800f5c3d76a076f1e2
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
jenkins-builder (0.1.
|
|
4
|
+
jenkins-builder (0.1.6)
|
|
5
5
|
jenkins_api_client (~> 1.5.3)
|
|
6
6
|
pastel (~> 0.7.2)
|
|
7
7
|
security (~> 0.1.3)
|
|
@@ -24,10 +24,10 @@ GEM
|
|
|
24
24
|
thor (>= 0.16.0)
|
|
25
25
|
json (2.1.0)
|
|
26
26
|
method_source (0.9.1)
|
|
27
|
-
mini_portile2 (2.
|
|
27
|
+
mini_portile2 (2.4.0)
|
|
28
28
|
mixlib-shellout (2.4.0)
|
|
29
|
-
nokogiri (1.
|
|
30
|
-
mini_portile2 (~> 2.
|
|
29
|
+
nokogiri (1.10.3)
|
|
30
|
+
mini_portile2 (~> 2.4.0)
|
|
31
31
|
pastel (0.7.2)
|
|
32
32
|
equatable (~> 0.5.0)
|
|
33
33
|
tty-color (~> 0.4.0)
|
|
@@ -58,7 +58,7 @@ GEM
|
|
|
58
58
|
socksify (1.7.1)
|
|
59
59
|
terminal-table (1.8.0)
|
|
60
60
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
|
61
|
-
thor (0.20.
|
|
61
|
+
thor (0.20.3)
|
|
62
62
|
tty-color (0.4.3)
|
|
63
63
|
tty-cursor (0.6.0)
|
|
64
64
|
tty-spinner (0.8.0)
|
|
@@ -79,4 +79,4 @@ DEPENDENCIES
|
|
|
79
79
|
rspec (~> 3.0)
|
|
80
80
|
|
|
81
81
|
BUNDLED WITH
|
|
82
|
-
1.
|
|
82
|
+
1.17.2
|
data/lib/jenkins/builder/app.rb
CHANGED
|
@@ -153,12 +153,13 @@ module Jenkins
|
|
|
153
153
|
all_console_output = ''
|
|
154
154
|
|
|
155
155
|
loop do
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
156
|
+
# require 'pry'; binding.pry;
|
|
157
|
+
console_output = @client.job.get_console_output(job_name, build_no, 0, 'text')
|
|
158
|
+
all_console_output = console_output['output']
|
|
159
|
+
print console_output['output'][printed_size..-1] unless @options[:silent]
|
|
160
|
+
printed_size = console_output['output'].size
|
|
160
161
|
break unless console_output['more']
|
|
161
|
-
sleep
|
|
162
|
+
sleep 0.5
|
|
162
163
|
end
|
|
163
164
|
if @options[:silent]
|
|
164
165
|
spinner.stop
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jenkins-builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Liu Xiang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-04-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -211,8 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
211
211
|
- !ruby/object:Gem::Version
|
|
212
212
|
version: '0'
|
|
213
213
|
requirements: []
|
|
214
|
-
|
|
215
|
-
rubygems_version: 2.7.7
|
|
214
|
+
rubygems_version: 3.0.3
|
|
216
215
|
signing_key:
|
|
217
216
|
specification_version: 4
|
|
218
217
|
summary: Build Jenkins Jobs
|