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.
@@ -1,8 +1,12 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
- v0.6.0
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
@@ -24,7 +24,7 @@ module JenkinsApi
24
24
  class Client
25
25
  MAJOR = 0
26
26
  MINOR = 6
27
- TINY = 0
27
+ TINY = 1
28
28
  PRE = nil
29
29
  VERSION = [MAJOR, MINOR, TINY, PRE].compact.join('.')
30
30
  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.0
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 00:00:00.000000000 Z
12
+ date: 2013-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri