deployme 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deployme/notifications/jira.rb +2 -4
- data/lib/deployme/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0275f647a5f9ec9d551433dae811464260ed575f3ee35e1fa2081b75fe535cd2
|
4
|
+
data.tar.gz: 9cd0552dd242f0f000d74df8090de9dc4ee7e2f77653ad1bf1c8a20ac30ec977
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50cc26f91b24711bbff0069823d11493916f656e933ed8dd55a50d59622b24ce9463e6e9ab2c020795a5c589a829a059abb7a2d3dcb5103f4e686bf4bff98d7d
|
7
|
+
data.tar.gz: c080ad5da9ede93c1818f3d8459c1ab9ae6dcf03d2f7d4513906fe36be2e94938bc47b70a18ccf809ec37c075d2e45aaf20df608ee94f955940fc386bef91efb
|
@@ -3,10 +3,6 @@ require 'jira-ruby'
|
|
3
3
|
module Deployme
|
4
4
|
module Notifications
|
5
5
|
class Jira < Notification
|
6
|
-
def self.defaults
|
7
|
-
{ issues: [] }
|
8
|
-
end
|
9
|
-
|
10
6
|
def self.options(parser)
|
11
7
|
parser.on('--jira-issues=TICKET,TICKET', Array, 'JIRA Tickets to Update') { |options, value| options.jira_issues = value }
|
12
8
|
parser.on('--jira-url=URL', String, 'JIRA Instance URL') { |options, value| options.jira_url = value }
|
@@ -20,6 +16,8 @@ module Deployme
|
|
20
16
|
def notify_error(error = nil); end
|
21
17
|
|
22
18
|
def notify_finish
|
19
|
+
return unless settings.issues
|
20
|
+
|
23
21
|
logger.info 'Adding Website link to JIRA'
|
24
22
|
settings.issues.each do |issue_key|
|
25
23
|
logger.info "Finding Issue: #{issue_key}"
|
data/lib/deployme/version.rb
CHANGED