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 +6 -1
- data/jpi.gemspec +3 -3
- data/lib/jenkins/plugin/cli/templates/build_wrapper.tt +30 -0
- data/lib/jenkins/plugin/version.rb +1 -1
- metadata +154 -159
- data/.gitignore +0 -6
data/Rakefile
CHANGED
data/jpi.gemspec
CHANGED
@@ -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 =
|
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.
|
24
|
-
s.add_dependency "jenkins-plugin-runtime", "~> 0.
|
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
|
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
|
-
|
9
|
-
|
10
|
-
|
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
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
email:
|
107
|
-
|
108
|
-
executables:
|
109
|
-
|
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
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
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
|
-
|
154
|
-
|
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
|
-
|
160
|
-
|
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
|
-
|
166
|
-
|
159
|
+
requirements:
|
160
|
+
- - ! '>='
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
167
163
|
requirements: []
|
168
|
-
|
169
164
|
rubyforge_project:
|
170
|
-
rubygems_version: 1.8.
|
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
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
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
|