jujube 0.5.1 → 0.5.2

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: eac8dcc322729f19c5b0fd1a0db99ce632a80ece
4
- data.tar.gz: 5273ed11c7de17307ac71275716f0545800246bb
3
+ metadata.gz: a8f855ccc784d45006735ead034d03422bd2c1e9
4
+ data.tar.gz: 2e823852d1e1f462189a5fc5df5d3f5f6aba1112
5
5
  SHA512:
6
- metadata.gz: 1125ab14a40bafbed7f3ba0c5f7891ab01a478325ceb71e987e9522f19736a856803b285401621b57533f89b65db03bad7af176fcc2072f7e7271e1e34a5e0b6
7
- data.tar.gz: b6732b0f405b5e7b100156777c787db8cccd519622512f3a9ae92f16e4355859b1808f6976af18c0b5518a3fe5da74694f72c3568d0fd51acaf42b7cb6b91e04
6
+ metadata.gz: 849562743f56489c8433dfb2513685c01ac344297ffe9fde49c87fbf982d8f2113a533d4ba2692b643f58b87bca69c7cfcc8f500ed737c4fe2e926d94d7a67b8
7
+ data.tar.gz: db505d835268a4c65d4a827df17da2f22fa4cee231f8a451f2bc421aa55eae9b72e39ef91161076d0618a2b1aee8cbf6f8c186a54cc733f81d455490ee94e076
@@ -41,6 +41,7 @@ job "endToEnd" do |j|
41
41
  j.publishers << archive(artifacts: "ARTIFACTS", latest_only: true, allow_empty: true)
42
42
  j.publishers << cppcheck(pattern: "PATTERN")
43
43
  j.publishers << email_ext(recipients: %w{fred barney})
44
+ j.publishers << fitnesse(results: "FITNESSE_RESULTS")
44
45
  j.publishers << ircbot(notify_start: true)
45
46
  j.publishers << junit(results: "RESULTS", keep_long_stdio: false)
46
47
  j.publishers << trigger(project: "PROJECT")
@@ -75,6 +75,8 @@
75
75
  recipients:
76
76
  - fred
77
77
  - barney
78
+ - fitnesse:
79
+ results: FITNESSE_RESULTS
78
80
  - ircbot:
79
81
  notify-start: true
80
82
  - junit:
@@ -6,7 +6,7 @@ module Jujube
6
6
  extend Macros
7
7
 
8
8
  # @!method archive(options = {})
9
- # Specify an `archive` component for a job.
9
+ # Specify an `archive` publisher for a job.
10
10
  #
11
11
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.archive}.
12
12
  #
@@ -15,7 +15,7 @@ module Jujube
15
15
  standard_component :archive
16
16
 
17
17
  # @!method cppcheck(options = {})
18
- # Specify a `cppcheck` component for a job.
18
+ # Specify a `cppcheck` publisher for a job.
19
19
  #
20
20
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.cppcheck}.
21
21
  #
@@ -24,7 +24,7 @@ module Jujube
24
24
  standard_component :cppcheck
25
25
 
26
26
  # @!method email_ext(options = {})
27
- # Specify an `email-ext` component for a job.
27
+ # Specify an `email-ext` publisher for a job.
28
28
  #
29
29
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.email-ext}.
30
30
  #
@@ -32,8 +32,17 @@ module Jujube
32
32
  # @return [Hash] The specification for the component.
33
33
  standard_component :email_ext
34
34
 
35
+ # @!method fitnesse(options = {})
36
+ # Specify a `fitnesse` publisher for a job.
37
+ #
38
+ # This publisher requires support in jenkins-job-builder that has not yet been submitted.
39
+ #
40
+ # @param options [Hash] The configuration options for the component.
41
+ # @return [Hash] The specification for the component.
42
+ standard_component :fitnesse
43
+
35
44
  # @!method ircbot(options = {})
36
- # Specify an `ircbot` component for a job.
45
+ # Specify an `ircbot` publisher for a job.
37
46
  #
38
47
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.ircbot}.
39
48
  #
@@ -42,7 +51,7 @@ module Jujube
42
51
  standard_component :ircbot
43
52
 
44
53
  # @!method junit(options = {})
45
- # Specify a `junit` component for a job.
54
+ # Specify a `junit` publisher for a job.
46
55
  #
47
56
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.junit}.
48
57
  #
@@ -51,7 +60,7 @@ module Jujube
51
60
  standard_component :junit
52
61
 
53
62
  # @!method trigger(options = {})
54
- # Specify a `trigger` component for a job.
63
+ # Specify a `trigger` publisher for a job.
55
64
  #
56
65
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.trigger}.
57
66
  #
@@ -59,7 +68,7 @@ module Jujube
59
68
  # @return [Hash] The specification for the component.
60
69
  standard_component :trigger
61
70
 
62
- # Specify an `xunit` component for a job.
71
+ # Specify an `xunit` publisher for a job.
63
72
  #
64
73
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.xunit}.
65
74
  #
@@ -84,7 +93,7 @@ module Jujube
84
93
  # @!group xunit Test Types
85
94
 
86
95
  # @!method unittest(options = {})
87
- # Configure a `unittest` test type for an {#xunit} component.
96
+ # Configure a `unittest` test type for an {#xunit} publisher.
88
97
  #
89
98
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.xunit}.
90
99
  #
@@ -16,7 +16,7 @@ module Jujube
16
16
 
17
17
  # Specify a `store` SCM for a job.
18
18
  #
19
- # This trigger requires support in jenkins-job-builder that has not yet been merged.
19
+ # This SCM requires support in jenkins-job-builder that has not yet been merged.
20
20
  # See {https://review.openstack.org/85729} for the patch.
21
21
  #
22
22
  # `store` can watch multiple pundles (packages or bundles) The specification for each
@@ -62,14 +62,14 @@ module Jujube
62
62
  # @!group pollurl Content Types
63
63
 
64
64
  # Configure a simple content check inside a {#url} specification of a
65
- # {#pollurl} component.
65
+ # {#pollurl} trigger.
66
66
  # @return [Hash] The specification for the content type.
67
67
  def simple
68
68
  {"simple" => true}
69
69
  end
70
70
 
71
71
  # Configure a JSON content check inside a {#url} specification of a
72
- # {#pollurl} component.
72
+ # {#pollurl} trigger.
73
73
  #
74
74
  # @param paths [String...] Zero or more JSONPath expressions. Only changes to
75
75
  # the parts of the JSON response that match one of the `paths` will trigger a build.
@@ -79,7 +79,7 @@ module Jujube
79
79
  end
80
80
 
81
81
  # Configure an XML content check inside a {#url} specification of a
82
- # {#pollurl} component.
82
+ # {#pollurl} trigger.
83
83
  #
84
84
  # @param xpaths [String...] Zero or more XPath expressions. Only changes to
85
85
  # the parts of the XML response that match one of the `xpaths` will trigger a build.
@@ -89,7 +89,7 @@ module Jujube
89
89
  end
90
90
 
91
91
  # Configure a text content check inside a {#url} specification of a
92
- # {#pollurl} component.
92
+ # {#pollurl} trigger.
93
93
  #
94
94
  # @param regexes [String...] Zero or more regular expressions. Only changes to
95
95
  # the parts of the text response that match one of the `regexes` will trigger a build.
@@ -6,7 +6,7 @@ module Jujube
6
6
  extend Macros
7
7
 
8
8
  # @!method timeout(options = {})
9
- # Specify a `timeout` component for a job.
9
+ # Specify a `timeout` wrapper for a job.
10
10
  #
11
11
  # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#wrappers.timeout}.
12
12
  #
@@ -14,7 +14,7 @@ module Jujube
14
14
  # @return [Hash] The specification for the component.
15
15
  standard_component :timeout
16
16
 
17
- # Specify a `timestamps` component for a job.
17
+ # Specify a `timestamps` wrapper for a job.
18
18
  #
19
19
  # See {http://ci.openstack.org/jenkins-job-builder/wrappers.html#wrappers.timestamps}.
20
20
  #
@@ -1,5 +1,5 @@
1
1
  # The main namespace for the Jujube gem.
2
2
  module Jujube
3
3
  # The current version of the Jujube gem.
4
- VERSION = "0.5.1"
4
+ VERSION = "0.5.2"
5
5
  end
@@ -48,4 +48,9 @@ class PublishersTest < Minitest::Test
48
48
  expected = {"trigger" => {"project" => "PROJECT"}}
49
49
  assert_equal(expected, trigger(project: "PROJECT"))
50
50
  end
51
+
52
+ def test_fitnesse
53
+ expected = {"fitnesse" => {"results" => "RESULTS"}}
54
+ assert_equal(expected, fitnesse(results: "RESULTS"))
55
+ end
51
56
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jujube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Randy Coulman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-07 00:00:00.000000000 Z
11
+ date: 2014-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler