jenkins-factory 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/jenkins_factory +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c74526cda026f690c0c0749c5cbe7e325e351e74
|
4
|
+
data.tar.gz: f39f0298f73a49d0f4e90eaa0a2cc1c7d903f7bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 308eab42d2d1ff6bd915db8d46a4e689e884206a8917027932a01f6c59642833155e544d22ce6af5185853b3074fa524bd4506e78dad8c6e73008b94da4a8ef8
|
7
|
+
data.tar.gz: f7b2e66ae6382cc85861ffda1320e9d6c53d7da83c6a520500fbad139faa96998741888c7812df65ce58ff3c58c9dad0951bdf022a237b6b659ae0b918822cc8
|
data/bin/jenkins_factory
CHANGED
@@ -6,6 +6,8 @@ require 'util'
|
|
6
6
|
|
7
7
|
opts = Trollop::options do
|
8
8
|
opt :jenkins_settings_yml_path, 'YAML path', type: :string, required: true
|
9
|
+
opt :url_output_path, '', type: :string, required: true, default: 'jenkins_url'
|
10
|
+
|
9
11
|
end
|
10
12
|
|
11
13
|
Trollop::die :jenkins_settings_yml_path, 'Must end in .yml' unless opts[:jenkins_settings_yml_path].end_with?('.yml')
|
@@ -18,4 +20,4 @@ jenkins_settings[:controller_ip] = Util.discover_my_public_ip_cidr
|
|
18
20
|
|
19
21
|
jenkins_url = JenkinsFactory.new.create(jenkins_settings)
|
20
22
|
|
21
|
-
|
23
|
+
IO.write opts[:url_output_path], jenkins_url
|