Upgrade some gems, including vagrant to 1.0.6

This commit is contained in:
R. Tyler Croy 2013-02-19 07:11:45 -08:00
parent 37a8c15992
commit 9eba9cbfad
3 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,4 @@
source :gemcutter
source 'https://rubygems.org'
gem "jenkins-plugin-runtime", "~> 0.2.3"
gem "jenkins-plugin", '~> 0.2.0'

View File

@ -1,13 +1,16 @@
GEM
remote: http://rubygems.org/
remote: https://rubygems.org/
specs:
archive-tar-minitar (0.5.2)
bouncy-castle-java (1.5.0146.1)
bouncy-castle-java (1.5.0147)
childprocess (0.3.9)
childprocess (0.3.8)
ffi (~> 1.0, >= 1.0.11)
childprocess (0.3.9)
diff-lcs (1.1.3)
erubis (2.7.0)
ffi (1.4.0-java)
i18n (0.6.1)
i18n (0.6.4)
jenkins-plugin (0.2.0)
jenkins-plugin-runtime (0.2.3)
@ -20,8 +23,11 @@ GEM
jenkins-war (> 1.427)
rubyzip
thor
jruby-openssl (0.8.2)
bouncy-castle-java (>= 1.5.0146.1)
jruby-openssl (0.8.5)
bouncy-castle-java (>= 1.5.0147)
json (1.5.5-java)
json (1.7.7-java)
lockfile (2.1.0)
log4r (1.1.10)
@ -40,15 +46,17 @@ GEM
rubyzip (0.9.9)
slop (3.0.4)
thor (0.16.0)
vagrant (1.0.7)
vagrant (1.0.6)
archive-tar-minitar (= 0.5.2)
childprocess (~> 0.3.1)
erubis (~> 2.7.0)
i18n (~> 0.6.0)
json (>= 1.5.1, < 1.8.0)
json (~> 1.5.1)
log4r (~> 1.1.9)
net-scp (~> 1.0.4)
net-ssh (~> 2.2.2)
vagrant (1.0.7)
PLATFORMS
java

View File

@ -47,14 +47,14 @@ module Vagrant
return build.workspace.to_s
end
return File.expand_path(File.join(build.workspace.to_s, @vagrantfile))
return FilePath.join(build.workspace.to_s, @vagrantfile)
end
# Called some time before the build is to start.
def setup(build, launcher, listener)
path = path_to_vagrantfile(build)
unless File.exists? File.join(path, 'Vagrantfile')
unless FilePath.exists? FilePath.join(path, 'Vagrantfile')
listener.info("There is no Vagrantfile in your workspace!")
listener.info("We looked in: #{path}")
build.native.setResult(Java.hudson.model.Result::NOT_BUILT)