jenkins_api_client 1.0.0.beta.3 → 1.0.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
data/jenkins_api_client.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "jenkins_api_client"
|
8
|
-
s.version = "1.0.0.beta.
|
8
|
+
s.version = "1.0.0.beta.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kannan Manickam"]
|
12
|
-
s.date = "2014-
|
12
|
+
s.date = "2014-02-18"
|
13
13
|
s.description = "\nThis is a simple and easy-to-use Jenkins Api client with features focused on\nautomating Job configuration programaticaly and so forth"
|
14
14
|
s.email = ["arangamani.kannan@gmail.com"]
|
15
15
|
s.executables = ["jenkinscli"]
|
@@ -113,6 +113,7 @@ module JenkinsApi
|
|
113
113
|
# * +:slave_host+ Hostname/IP of the slave
|
114
114
|
# * +:slave_port+ Slave port
|
115
115
|
# * +:private_key_file+ Private key file of master
|
116
|
+
# * +:credentials_id+ Id for credential in Jenkins
|
116
117
|
#
|
117
118
|
# @example Create a Dump Slave
|
118
119
|
# create_dump_slave(
|
@@ -137,7 +138,9 @@ module JenkinsApi
|
|
137
138
|
:remote_fs => "/var/jenkins",
|
138
139
|
:labels => params[:name],
|
139
140
|
:slave_port => 22,
|
140
|
-
:mode => "normal"
|
141
|
+
:mode => "normal",
|
142
|
+
:private_key_file => "",
|
143
|
+
:credentials_id => ""
|
141
144
|
}
|
142
145
|
|
143
146
|
params = default_params.merge(params)
|
@@ -167,6 +170,7 @@ module JenkinsApi
|
|
167
170
|
"port" => params[:slave_port],
|
168
171
|
"username" => params[:slave_user],
|
169
172
|
"privatekey" => params[:private_key_file],
|
173
|
+
"credentialsId" => params[:credentials_id]
|
170
174
|
}
|
171
175
|
}.to_json
|
172
176
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jenkins_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.beta.
|
4
|
+
version: 1.0.0.beta.4
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-02-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|