jenkins_pipeline_builder 0.7.2 → 0.7.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28e03f245884e952e78cfa530b123634d4d60b04
|
4
|
+
data.tar.gz: a26a549b3667419d1a40774457de4af677565b85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e1b66567f41be5629caeb91489bca6897c939156ffbd49174747a0b56473c31a259d98d7ddcdc52e9a311dfde53cbc3a896619878396018a97b12ec66c8739f
|
7
|
+
data.tar.gz: 7206a474968d4f94fbcb7f2af70cb3e3d11b53c5ecc209bc909231d198da0477282b284ba01bcdc0519dccc5321a58691ad81f6402ae6cf8d39ee09311791dff
|
data/README.md
CHANGED
@@ -112,7 +112,7 @@ Here's a high level overview of what's available:
|
|
112
112
|
scm_url: git@github.com:your_url_here
|
113
113
|
scm_branch: master
|
114
114
|
scm_params:
|
115
|
-
|
115
|
+
excluded_users: user
|
116
116
|
local_branch: branch_name
|
117
117
|
recursive_update: true
|
118
118
|
wipe_workspace: true
|
@@ -120,6 +120,8 @@ Here's a high level overview of what's available:
|
|
120
120
|
excluded_regions: region
|
121
121
|
included_regions: region
|
122
122
|
shell_command: '. commit_build.sh'
|
123
|
+
inject_env_vars_pre_scm:
|
124
|
+
file: '${PARENT_WORKSPACE}/{{shared_job_settings_file}}'
|
123
125
|
hipchat:
|
124
126
|
room: room name here
|
125
127
|
start-notify: true
|
@@ -232,3 +232,24 @@ job_attribute do
|
|
232
232
|
(params == true) ? 'true' : 'false'
|
233
233
|
end
|
234
234
|
end
|
235
|
+
|
236
|
+
job_attribute do
|
237
|
+
name :inject_env_vars_pre_scm
|
238
|
+
plugin_id 'envinject'
|
239
|
+
description 'This plugin makes it possible to inject variables before the SCM checkout.'
|
240
|
+
jenkins_name 'Inject environment variables before the SCM checkout.'
|
241
|
+
announced false
|
242
|
+
|
243
|
+
xml path: '//properties' do |params|
|
244
|
+
EnvInjectJobProperty do
|
245
|
+
info do
|
246
|
+
propertiesFilePath params[:file] if params[:file]
|
247
|
+
propertiesContent params[:content] if params[:content]
|
248
|
+
loadFilesFromMaster false
|
249
|
+
end
|
250
|
+
on true
|
251
|
+
keepJenkinsSystemVariables true
|
252
|
+
keepBuildVariables true
|
253
|
+
end
|
254
|
+
end
|
255
|
+
end
|
@@ -63,7 +63,8 @@ describe JenkinsPipelineBuilder::ModuleRegistry do
|
|
63
63
|
discard_old: ['0'],
|
64
64
|
throttle: ['0'],
|
65
65
|
prepare_environment: ['0'],
|
66
|
-
concurrent_build: ['0']
|
66
|
+
concurrent_build: ['0'],
|
67
|
+
inject_env_vars_pre_scm: ['0']
|
67
68
|
}
|
68
69
|
registry = JenkinsPipelineBuilder.registry.registry
|
69
70
|
# There are 4 sub types so, we don't count those
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenkins_pipeline_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Moochnick
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|