jpi 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,5 +1,10 @@
1
1
  require 'bundler'
2
- Bundler::GemHelper.install_tasks
2
+ class Bundler::GemHelper
3
+ def version_tag
4
+ "jpi-v#{version}"
5
+ end
6
+ install_tasks
7
+ end
3
8
 
4
9
  require 'rspec/core/rake_task'
5
10
  RSpec::Core::RakeTask.new(:spec)
@@ -14,14 +14,14 @@ Gem::Specification.new do |s|
14
14
 
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.executables = ['jpi']
18
18
  s.require_paths = ["lib"]
19
19
 
20
20
  s.add_dependency "rubyzip"
21
21
  s.add_dependency "thor"
22
22
  s.add_dependency "jenkins-war", ">= 1.427"
23
- s.add_dependency "bundler", "~> 1.1.rc2"
24
- s.add_dependency "jenkins-plugin-runtime", "~> 0.1.13"
23
+ s.add_dependency "bundler", "~> 1.1.0"
24
+ s.add_dependency "jenkins-plugin-runtime", "~> 0.2.0"
25
25
 
26
26
  s.add_development_dependency "rspec", "~> 2.0"
27
27
  s.add_development_dependency "cucumber", "~> 1.0"
@@ -0,0 +1,30 @@
1
+ class <%= name.capitalize %>Wrapper < Jenkins::Tasks::BuildWrapper
2
+ display_name "<%= name.capitalize %> build wrapper"
3
+
4
+ # Invoked with the form parameters when this extension point
5
+ # is created from a configuration screen.
6
+ def initialize(attrs = {})
7
+
8
+ end
9
+
10
+ # Perform setup for a build
11
+ #
12
+ # invoked after checkout, but before any `Builder`s have been run
13
+ # @param [Jenkins::Model::Build] build the build about to run
14
+ # @param [Jenkins::Launcher] launcher a launcher for the orderly starting/stopping of processes.
15
+ # @param [Jenkins::Model::Listener] listener channel for interacting with build output console
16
+ def setup(build, launcher, listener)
17
+
18
+ end
19
+
20
+ # Optionally perform optional teardown for a build
21
+ #
22
+ # invoked after a build has run for better or for worse. It's ok if subclasses
23
+ # don't override this.
24
+ #
25
+ # @param [Jenkins::Model::Build] the build which has completed
26
+ # @param [Jenkins::Model::Listener] listener channel for interacting with build output console
27
+ def teardown(build, listener)
28
+
29
+ end
30
+ end
@@ -1,5 +1,5 @@
1
1
  module Jenkins
2
2
  class Plugin
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,178 +1,173 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jpi
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.4
4
5
  prerelease:
5
- version: 0.3.3
6
6
  platform: ruby
7
- authors:
8
- - Charles Lowell
9
- - "J\xC3\xB8rgen P. Tjern\xC3\xB8"
10
- - Kohsuke Kawaguchi
7
+ authors:
8
+ - Charles Lowell
9
+ - Jørgen P. Tjernø
10
+ - Kohsuke Kawaguchi
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
-
15
- date: 2012-02-03 00:00:00 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: rubyzip
19
- prerelease: false
20
- requirement: &id001 !ruby/object:Gem::Requirement
21
- none: false
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: "0"
26
- type: :runtime
27
- version_requirements: *id001
28
- - !ruby/object:Gem::Dependency
29
- name: thor
30
- prerelease: false
31
- requirement: &id002 !ruby/object:Gem::Requirement
32
- none: false
33
- requirements:
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: "0"
37
- type: :runtime
38
- version_requirements: *id002
39
- - !ruby/object:Gem::Dependency
40
- name: jenkins-war
41
- prerelease: false
42
- requirement: &id003 !ruby/object:Gem::Requirement
43
- none: false
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: "1.427"
48
- type: :runtime
49
- version_requirements: *id003
50
- - !ruby/object:Gem::Dependency
51
- name: bundler
52
- prerelease: false
53
- requirement: &id004 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
56
- - - ~>
57
- - !ruby/object:Gem::Version
58
- version: 1.1.rc2
59
- type: :runtime
60
- version_requirements: *id004
61
- - !ruby/object:Gem::Dependency
62
- name: jenkins-plugin-runtime
63
- prerelease: false
64
- requirement: &id005 !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ~>
68
- - !ruby/object:Gem::Version
69
- version: 0.1.13
70
- type: :runtime
71
- version_requirements: *id005
72
- - !ruby/object:Gem::Dependency
73
- name: rspec
74
- prerelease: false
75
- requirement: &id006 !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- version: "2.0"
81
- type: :development
82
- version_requirements: *id006
83
- - !ruby/object:Gem::Dependency
84
- name: cucumber
85
- prerelease: false
86
- requirement: &id007 !ruby/object:Gem::Requirement
87
- none: false
88
- requirements:
89
- - - ~>
90
- - !ruby/object:Gem::Version
91
- version: "1.0"
92
- type: :development
93
- version_requirements: *id007
94
- - !ruby/object:Gem::Dependency
95
- name: rake
96
- prerelease: false
97
- requirement: &id008 !ruby/object:Gem::Requirement
98
- none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: "0"
103
- type: :development
104
- version_requirements: *id008
105
- description: Allows you to generate a new Ruby plugin project, build it, test it in Jenkins and release it to the Jenkins Update Center.
106
- email:
107
- - cowboyd@thefrontside.net
108
- executables:
109
- - jpi
14
+ date: 2012-03-30 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: rubyzip
18
+ requirement: &2161069120 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: *2161069120
27
+ - !ruby/object:Gem::Dependency
28
+ name: thor
29
+ requirement: &2161067140 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: *2161067140
38
+ - !ruby/object:Gem::Dependency
39
+ name: jenkins-war
40
+ requirement: &2161066140 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '1.427'
46
+ type: :runtime
47
+ prerelease: false
48
+ version_requirements: *2161066140
49
+ - !ruby/object:Gem::Dependency
50
+ name: bundler
51
+ requirement: &2161064160 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ~>
55
+ - !ruby/object:Gem::Version
56
+ version: 1.1.0
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: *2161064160
60
+ - !ruby/object:Gem::Dependency
61
+ name: jenkins-plugin-runtime
62
+ requirement: &2161062540 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 0.2.0
68
+ type: :runtime
69
+ prerelease: false
70
+ version_requirements: *2161062540
71
+ - !ruby/object:Gem::Dependency
72
+ name: rspec
73
+ requirement: &2161061100 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ~>
77
+ - !ruby/object:Gem::Version
78
+ version: '2.0'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: *2161061100
82
+ - !ruby/object:Gem::Dependency
83
+ name: cucumber
84
+ requirement: &2161060020 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '1.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: *2161060020
93
+ - !ruby/object:Gem::Dependency
94
+ name: rake
95
+ requirement: &2161058840 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ! '>='
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: *2161058840
104
+ description: Allows you to generate a new Ruby plugin project, build it, test it in
105
+ Jenkins and release it to the Jenkins Update Center.
106
+ email:
107
+ - cowboyd@thefrontside.net
108
+ executables:
109
+ - jpi
110
110
  extensions: []
111
-
112
111
  extra_rdoc_files: []
113
-
114
- files:
115
- - .gitignore
116
- - Gemfile
117
- - README.md
118
- - Rakefile
119
- - bin/jpi
120
- - features/create-new-plugin.feature
121
- - features/support/create_new_plugin_steps.rb
122
- - features/support/directory_structure.rb
123
- - features/support/work.rb
124
- - jpi.gemspec
125
- - lib/jenkins/jenkins-ci.org/credential.rb
126
- - lib/jenkins/plugin/cli.rb
127
- - lib/jenkins/plugin/cli/formatting.rb
128
- - lib/jenkins/plugin/cli/generate.rb
129
- - lib/jenkins/plugin/cli/new.rb
130
- - lib/jenkins/plugin/cli/templates/Gemfile.tt
131
- - lib/jenkins/plugin/cli/templates/build_step.tt
132
- - lib/jenkins/plugin/cli/templates/computer_listener.tt
133
- - lib/jenkins/plugin/cli/templates/node_property.tt
134
- - lib/jenkins/plugin/cli/templates/pluginspec.tt
135
- - lib/jenkins/plugin/cli/templates/run_listener.tt
136
- - lib/jenkins/plugin/tools/bundle.rb
137
- - lib/jenkins/plugin/tools/hpi.rb
138
- - lib/jenkins/plugin/tools/loadpath.rb
139
- - lib/jenkins/plugin/tools/manifest.rb
140
- - lib/jenkins/plugin/tools/package.rb
141
- - lib/jenkins/plugin/tools/release.rb
142
- - lib/jenkins/plugin/tools/resolver.rb
143
- - lib/jenkins/plugin/tools/server.rb
144
- - lib/jenkins/plugin/tools/templates/release-pom.xml.erb
145
- - lib/jenkins/plugin/version.rb
146
- - lib/jenkins/rake.rb
112
+ files:
113
+ - Gemfile
114
+ - README.md
115
+ - Rakefile
116
+ - bin/jpi
117
+ - features/create-new-plugin.feature
118
+ - features/support/create_new_plugin_steps.rb
119
+ - features/support/directory_structure.rb
120
+ - features/support/work.rb
121
+ - jpi.gemspec
122
+ - lib/jenkins/jenkins-ci.org/credential.rb
123
+ - lib/jenkins/plugin/cli.rb
124
+ - lib/jenkins/plugin/cli/formatting.rb
125
+ - lib/jenkins/plugin/cli/generate.rb
126
+ - lib/jenkins/plugin/cli/new.rb
127
+ - lib/jenkins/plugin/cli/templates/Gemfile.tt
128
+ - lib/jenkins/plugin/cli/templates/build_step.tt
129
+ - lib/jenkins/plugin/cli/templates/build_wrapper.tt
130
+ - lib/jenkins/plugin/cli/templates/computer_listener.tt
131
+ - lib/jenkins/plugin/cli/templates/node_property.tt
132
+ - lib/jenkins/plugin/cli/templates/pluginspec.tt
133
+ - lib/jenkins/plugin/cli/templates/run_listener.tt
134
+ - lib/jenkins/plugin/tools/bundle.rb
135
+ - lib/jenkins/plugin/tools/hpi.rb
136
+ - lib/jenkins/plugin/tools/loadpath.rb
137
+ - lib/jenkins/plugin/tools/manifest.rb
138
+ - lib/jenkins/plugin/tools/package.rb
139
+ - lib/jenkins/plugin/tools/release.rb
140
+ - lib/jenkins/plugin/tools/resolver.rb
141
+ - lib/jenkins/plugin/tools/server.rb
142
+ - lib/jenkins/plugin/tools/templates/release-pom.xml.erb
143
+ - lib/jenkins/plugin/version.rb
144
+ - lib/jenkins/rake.rb
147
145
  homepage: https://github.com/jenkinsci/jpi.rb
148
146
  licenses: []
149
-
150
147
  post_install_message:
151
148
  rdoc_options: []
152
-
153
- require_paths:
154
- - lib
155
- required_ruby_version: !ruby/object:Gem::Requirement
149
+ require_paths:
150
+ - lib
151
+ required_ruby_version: !ruby/object:Gem::Requirement
156
152
  none: false
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- version: "0"
161
- required_rubygems_version: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ required_rubygems_version: !ruby/object:Gem::Requirement
162
158
  none: false
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: "0"
159
+ requirements:
160
+ - - ! '>='
161
+ - !ruby/object:Gem::Version
162
+ version: '0'
167
163
  requirements: []
168
-
169
164
  rubyforge_project:
170
- rubygems_version: 1.8.9
165
+ rubygems_version: 1.8.17
171
166
  signing_key:
172
167
  specification_version: 3
173
168
  summary: Tools for creating and building Jenkins Ruby plugins
174
- test_files:
175
- - features/create-new-plugin.feature
176
- - features/support/create_new_plugin_steps.rb
177
- - features/support/directory_structure.rb
178
- - features/support/work.rb
169
+ test_files:
170
+ - features/create-new-plugin.feature
171
+ - features/support/create_new_plugin_steps.rb
172
+ - features/support/directory_structure.rb
173
+ - features/support/work.rb
data/.gitignore DELETED
@@ -1,6 +0,0 @@
1
- *.gem
2
- .bundle
3
- .idea
4
- Gemfile.lock
5
- pkg/*
6
- target/