capistrano-jenkins 0.1.2 → 0.1.3

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-jenkins (0.1.2)
4
+ capistrano-jenkins (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = "capistrano-jenkins"
4
- s.version = "0.1.2"
4
+ s.version = "0.1.3"
5
5
  s.authors = ["Martin Jonsson"]
6
6
  s.email = ["martin.jonsson@gmail.com"]
7
7
  s.homepage = "http://github.com/martinj/capistrano-jenkins"
@@ -49,10 +49,8 @@ Capistrano::Configuration.instance.load do
49
49
  retrying = false
50
50
  [0].each do |i|
51
51
  sha = `git ls-remote #{repository} #{branch}`.sub!(/\s+.*$/, '').chomp
52
- puts "First sha #{sha}"
53
52
  #if it was a tag we need to get the sha to the commit
54
53
  sha = `git log --pretty=format:'%H' -n1 #{sha}`.chomp
55
- puts "Second sha #{sha}"
56
54
  build = get_build(sha, fetch_json("#{jenkins_url}/job/#{jenkins_job_name}/api/json?depth=1"))
57
55
 
58
56
  unless build then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-jenkins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: