a2zdeploy 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/a2zdeploy.gemspec +1 -1
- data/lib/teamcity_api.rb +2 -2
- 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: 2cc999d1dd89da58425262c2ea06543eaa68130d
|
4
|
+
data.tar.gz: 99480e304f37c653f20fe2538457036207484e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4017db353a50e733ea40655a5512e71c2ead6f12dd5f7e8340ef86e68cc618a8cf2d404ac3c56d4b45f58aaebdcff764e0aa591f72fd7fba1a9edb4fd2fb2e3a
|
7
|
+
data.tar.gz: 238a500a20fdc36bdf3a2b3b81a5ebfae7957dc5fab448d51b190272b5d6dd7a8c71d2b03dc54a99121c8f9a2a203fe4874e62a2be9cc0bb52c53e477e5abd23
|
data/a2zdeploy.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'a2zdeploy'
|
3
|
-
s.version = '1.0.
|
3
|
+
s.version = '1.0.5'
|
4
4
|
s.date = '2016-02-08'
|
5
5
|
s.summary = 'Given a project dependency chain, updates versions, builds, tests, manages service and cloud settings as well as build environment configuration'
|
6
6
|
s.description = 'Automated Upgrades Gem. Provides version upgrades, build and deployment configuration management'
|
data/lib/teamcity_api.rb
CHANGED
@@ -20,7 +20,7 @@ module TeamCityApi
|
|
20
20
|
end
|
21
21
|
|
22
22
|
#Build trigger API
|
23
|
-
def TeamCityApi.trigger_build buildConfigurationId
|
23
|
+
def TeamCityApi.trigger_build buildConfigurationId, username, password
|
24
24
|
|
25
25
|
configContent = create_build_trigger_config buildConfigurationId
|
26
26
|
uri = URI.parse 'http://teamcity.relayhealth.com'
|
@@ -30,7 +30,7 @@ module TeamCityApi
|
|
30
30
|
request.content_type = 'application/xml'
|
31
31
|
request.basic_auth username, password
|
32
32
|
response = http.request request
|
33
|
-
|
33
|
+
puts response
|
34
34
|
end
|
35
35
|
|
36
36
|
def TeamCityApi.create_build_trigger_config buildConfigurationId
|