jenkins-plugin 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,8 +13,14 @@ module Jenkins
13
13
  require 'bundler'
14
14
  require 'bundler/cli'
15
15
  puts "bundling..."
16
+
17
+ # We set these in ENV instead of passing the --without and --path
18
+ # options because the CLI options are remembered in .bundle/config and
19
+ # will interfere with regular usage of bundle exec / install.
16
20
  ENV['BUNDLE_APP_CONFIG'] = "#{@target}/vendor/bundle"
17
- Bundler::CLI.start ["--path", "#{@target}/vendor/gems", "--without", "development"]
21
+ ENV['BUNDLE_WITHOUT'] = "development"
22
+ ENV['BUNDLE_PATH'] = "#{@target}/vendor/gems"
23
+ Bundler::CLI.start
18
24
 
19
25
  generate_standalone([])
20
26
  end
@@ -55,4 +61,4 @@ module Jenkins
55
61
  end
56
62
  end
57
63
  end
58
- end
64
+ end
@@ -32,7 +32,10 @@ module Jenkins
32
32
  ["lib","models","views", "#{@target}/vendor"].each do |d|
33
33
  Dir.glob("#{d}/**/*") do |f|
34
34
  if !File.directory? f
35
- zipfile.add("WEB-INF/classes/#{f.gsub("#{@target}/",'')}",f)
35
+ p = f.gsub("#{@target}/",'')
36
+ if !(p =~ /vendor\/gems\/jruby\/1.[0-9]+\/cache\/.*/)
37
+ zipfile.add("WEB-INF/classes/#{p}",f)
38
+ end
36
39
  end
37
40
  end
38
41
  end
@@ -1,5 +1,5 @@
1
1
  module Jenkins
2
2
  class Plugin
3
- VERSION = "0.1.13"
3
+ VERSION = "0.1.14"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins-plugin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 1
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 13
10
- version: 0.1.13
9
+ - 14
10
+ version: 0.1.14
11
11
  platform: ruby
12
12
  authors:
13
13
  - Charles Lowell
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-21 00:00:00 -05:00
18
+ date: 2011-11-01 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency