jenkins_api_client 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -2
- data/lib/jenkins_api_client/cli/job.rb +2 -0
- data/lib/jenkins_api_client/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
=========
|
3
3
|
|
4
|
-
v0.6.
|
5
|
-
|
4
|
+
v0.6.1 [13-JAN-2013]
|
5
|
+
---------------------
|
6
|
+
* Fixed a bug where the last few lines of console output was missed in the CLI when using the `jenkinscli job console` command.
|
7
|
+
|
8
|
+
v0.6.0 [12-JAN-2013]
|
9
|
+
---------------------
|
6
10
|
* Added functionality to get progressive console output from Jenkins.
|
7
11
|
* Added CLI command `console` for printing progressive console output on terminal.
|
8
12
|
* Fixed a bug with `get_current_build_number` not returning the recent running build number.
|
@@ -96,6 +96,8 @@ module JenkinsApi
|
|
96
96
|
sleep options[:sleep].to_i if options[:sleep]
|
97
97
|
response = @client.job.get_console_output(job, 0, size)
|
98
98
|
end
|
99
|
+
# Print the last few lines
|
100
|
+
puts response['output'] unless response['output'].chomp.empty?
|
99
101
|
# Change the debug back if we changed it now
|
100
102
|
@client.toggle_debug if debug_changed
|
101
103
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenkins_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|