jujube 0.13.0 → 0.14.0

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
  SHA256:
3
- metadata.gz: f5d273e531a84f934e45a965ab2984c09a327647235554c0831290a298d7d5e5
4
- data.tar.gz: a2c42a4981849525fdd7387baa5fb193a7a02dbd15e6e49c0df72b796898f3af
3
+ metadata.gz: 686a1fe816b64601c238d50bc6e553335d4e490f2ee2efe0ebd58ca8ce07f5f5
4
+ data.tar.gz: c3160bbd7c4324ea74386173f7edc643db411a3273e97e0b97b6ba16fb3befa7
5
5
  SHA512:
6
- metadata.gz: 19358c0261048502bb9fd9182fa08b7e71d0aae13e4b89120eb430962d85d36d61c221c1479ce102bf068804f10d939d4001f3f8aa9a5107af2109752f34172c
7
- data.tar.gz: 395ef00d07ff4aed36e18ad7b3105598a8719a8dac1b7776fdb744626bc484a49ee92da5177104ac97f23f6c7789c49db3ef1dadc595025970617752fa932365
6
+ metadata.gz: 79c9dc2af5a9a58c6526724f6e7ab19041d56f4528be4164a16b2c3a65e6cdd87097fae9581d82aa00acd62dfcc4ba4edb0016b2a8424b28f09b10852ccd94b5
7
+ data.tar.gz: 1459dd0c1cc8223a42e1effd988adbf94c9840d191e3bafcf33d397290ec255e92f7fd084e60254de95570074d845a4fee01f3a15b0b15dba38e7ede1ef8fbec
@@ -1,91 +1,99 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this gem will be documented here. This project
3
+ All notable changes to this gem will be documented here. This project
4
4
  adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
6
  ## [Unreleased][unreleased]
7
7
 
8
+ ## [0.14.0][0.14.0]
9
+
10
+ ### Added
11
+
12
+ - Support the `concurrent` job attribute
13
+ (see https://docs.openstack.org/infra/jenkins-job-builder/definition.html?highlight=concurrent) ([#13](https://github.com/randycoulman/jujube/pull/11)) (@mroelandts)
14
+
8
15
  ## [0.13.0][0.13.0]
9
16
 
10
17
  ### Added
11
18
 
12
- * Support the `copyartifact` builder (see https://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.copyartifact) ([#11](https://github.com/randycoulman/jujube/pull/11)) (@ktreis)
19
+ - Support the `copyartifact` builder (see https://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.copyartifact) ([#11](https://github.com/randycoulman/jujube/pull/11)) (@ktreis)
13
20
 
14
21
  ## [0.12.0][0.12.0]
15
22
 
16
23
  ### Added
17
24
 
18
- * Support the `string` parameter (see http://docs.openstack.org/infra/jenkins-job-builder/parameters.html#parameters.string) ([#3](https://github.com/randycoulman/jujube/pull/3)) (@jgeysens)
19
- * Support Rake 11.x versions ([#4](https://github.com/randycoulman/jujube/pull/4))
20
- * Support the `validating_string` parameter (see http://docs.openstack.org/infra/jenkins-job-builder/parameters.html#parameters.validating-string) ([#7](https://github.com/randycoulman/jujube/pull/7))
21
- * Support the `trigger_parameterized_builds` publisher (see http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.trigger-parameterized-builds) ([#9](https://github.com/randycoulman/jujube/pull/9))
25
+ - Support the `string` parameter (see http://docs.openstack.org/infra/jenkins-job-builder/parameters.html#parameters.string) ([#3](https://github.com/randycoulman/jujube/pull/3)) (@jgeysens)
26
+ - Support Rake 11.x versions ([#4](https://github.com/randycoulman/jujube/pull/4))
27
+ - Support the `validating_string` parameter (see http://docs.openstack.org/infra/jenkins-job-builder/parameters.html#parameters.validating-string) ([#7](https://github.com/randycoulman/jujube/pull/7))
28
+ - Support the `trigger_parameterized_builds` publisher (see http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.trigger-parameterized-builds) ([#9](https://github.com/randycoulman/jujube/pull/9))
22
29
 
23
30
  ## [0.11.0][0.11.0]
24
31
 
25
32
  ### Breaking Changes
26
33
 
27
- * The `pollscm` component has been updated to conform to the new API in jenkins-job-builder 1.3.0 and later. See http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.pollscm for details of the change. If you need to use the `pollscm` component and older versions of jenkins-job-builder, then stick with version 0.10.0 or earlier of Jujube.
34
+ - The `pollscm` component has been updated to conform to the new API in jenkins-job-builder 1.3.0 and later. See http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.pollscm for details of the change. If you need to use the `pollscm` component and older versions of jenkins-job-builder, then stick with version 0.10.0 or earlier of Jujube.
28
35
 
29
- * With this release, we are no longer officially supporting Ruby versions less than 2.1. Previous versions of Ruby are [considered end-of-life (EOL)](https://www.ruby-lang.org/en/downloads/) by the Ruby core team.
36
+ - With this release, we are no longer officially supporting Ruby versions less than 2.1. Previous versions of Ruby are [considered end-of-life (EOL)](https://www.ruby-lang.org/en/downloads/) by the Ruby core team.
30
37
 
31
38
  ### Added
32
39
 
33
- * Link to the documentation for the `pollurl` trigger that has new been merged into jenkins-job-builder.
40
+ - Link to the documentation for the `pollurl` trigger that has new been merged into jenkins-job-builder.
34
41
 
35
42
  ### Changed
36
43
 
37
- * The jenkins-job-builder documentation has moved to a new location, so all documentation links (including within this CHANGELOG) have been updated.
44
+ - The jenkins-job-builder documentation has moved to a new location, so all documentation links (including within this CHANGELOG) have been updated.
38
45
 
39
46
  ## [0.10.0][0.10.0]
40
47
 
41
48
  ### Added
42
49
 
43
- * Support the `priority_sorter` property (see http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.priority-sorter).
44
- * Links to documentation for the `fitnesse` publisher and `store` SCM that have now been merged into jenkins-job-builder.
45
- * This CHANGELOG.
50
+ - Support the `priority_sorter` property (see http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.priority-sorter).
51
+ - Links to documentation for the `fitnesse` publisher and `store` SCM that have now been merged into jenkins-job-builder.
52
+ - This CHANGELOG.
46
53
 
47
54
  ## [0.9.0][0.9.0] - 2015-04-09
48
55
 
49
56
  ### Added
50
57
 
51
- * Support the `disabled` job attribute
52
- (see http://docs.openstack.org/infra/jenkins-job-builder/general.html).
58
+ - Support the `disabled` job attribute
59
+ (see http://docs.openstack.org/infra/jenkins-job-builder/general.html).
53
60
 
54
61
  ## [0.8.0][0.8.0] - 2014-10-29
55
62
 
56
- * Support the `throttle` job property (see http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.throttle).
63
+ - Support the `throttle` job property (see http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.throttle).
57
64
 
58
65
  ## [0.7.0][0.7.0] - 2014-10-28
59
66
 
60
67
  ### Added
61
68
 
62
- * Support the `reverse` trigger (see http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.reverse).
69
+ - Support the `reverse` trigger (see http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.reverse).
63
70
 
64
71
  ## [0.6.0][0.6.0] - 2014-08-25
65
72
 
66
73
  ### Added
67
74
 
68
- * The `jujube` command now understands the `--version` argument and reports the gem version.
75
+ - The `jujube` command now understands the `--version` argument and reports the gem version.
69
76
 
70
77
  ## [0.5.2][0.5.2] - 2014-04-15
71
78
 
72
79
  ### Added
73
80
 
74
- * Support the `fitnesse` publisher (see http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.fitnesse).
81
+ - Support the `fitnesse` publisher (see http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.fitnesse).
75
82
 
76
83
  ## [0.5.1][0.5.1] - 2014-04-07
77
84
 
78
85
  ### Added
79
86
 
80
- * Support the `store` SCM (see http://docs.openstack.org/infra/jenkins-job-builder/scm.html#scm.store).
87
+ - Support the `store` SCM (see http://docs.openstack.org/infra/jenkins-job-builder/scm.html#scm.store).
81
88
 
82
89
  ## [0.5.0][0.5.0] - 2014-03-28
83
90
 
84
91
  ### Added
85
92
 
86
- * Initial public release.
93
+ - Initial public release.
87
94
 
88
- [unreleased]: https://github.com/randycoulman/jujube/compare/v0.13.0...HEAD
95
+ [unreleased]: https://github.com/randycoulman/jujube/compare/v0.14.0...HEAD
96
+ [0.14.0]: https://github.com/randycoulman/jujube/compare/v0.13.0...v0.14.0
89
97
  [0.13.0]: https://github.com/randycoulman/jujube/compare/v0.12.0...v0.13.0
90
98
  [0.12.0]: https://github.com/randycoulman/jujube/compare/v0.11.0...v0.12.0
91
99
  [0.11.0]: https://github.com/randycoulman/jujube/compare/v0.10.0...v0.11.0
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  ![Maintenance Status](https://img.shields.io/badge/maintenance-active-green.svg)
7
7
 
8
8
  **Jujube** is a Ruby front-end for
9
- [jenkins-job-builder](https://github.com/openstack-infra/jenkins-job-builder).
9
+ [jenkins-job-builder](https://opendev.org/jjb/jenkins-job-builder).
10
10
 
11
11
  jenkins-job-builder allows you to specify Jenkins jobs in YAML and then creates or
12
12
  updates the jobs in a running Jenkins instance. It provides some tools for removing
@@ -101,6 +101,7 @@ The following job attributes are supported:
101
101
  * `block_upstream`
102
102
  * `block_downstream`
103
103
  * `quiet_period`
104
+ * `concurrent`
104
105
  * `disabled`
105
106
 
106
107
  The following sections and components are supported:
@@ -116,7 +117,7 @@ The following sections and components are supported:
116
117
  `trigger`, `trigger_parameterized_builds`, `unittest`, `xunit`)
117
118
  * `notifications`: None defined yet
118
119
 
119
- See [the end-to-end example job](examples/fixtures/endToEnd/endToEnd.job) for example
120
+ See [the end-to-end example job](acceptance/fixtures/endToEnd/endToEnd.job) for example
120
121
  uses of all of the supported attributes, sections, and components.
121
122
 
122
123
  In general, component options are typically specified as standard Ruby hashes. The option
@@ -4,6 +4,7 @@ job "endToEnd" do |j|
4
4
  j.block_upstream = true
5
5
  j.block_downstream = false
6
6
  j.quiet_period = 42
7
+ j.concurrent = true
7
8
  j.disabled = true
8
9
 
9
10
  j.axes << slave(:arch, %w{i386 amd64})
@@ -6,6 +6,7 @@
6
6
  block-upstream: true
7
7
  block-downstream: false
8
8
  quiet-period: 42
9
+ concurrent: true
9
10
  disabled: true
10
11
  project-type: matrix
11
12
  axes:
@@ -27,7 +27,7 @@ module Jujube
27
27
  # @!attribute name
28
28
  # The name of the job - will be the name as seen in Jenkins.
29
29
  #
30
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
30
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
31
31
  #
32
32
  # @return [String]
33
33
  attribute :name
@@ -36,7 +36,7 @@ module Jujube
36
36
  # The type of job. This normally does not need to be specified, as it
37
37
  # will be inferred as `matrix` if any `axes` are added.
38
38
  #
39
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
39
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
40
40
  #
41
41
  # @return [String]
42
42
  attribute :project_type
@@ -44,7 +44,7 @@ module Jujube
44
44
  # @!attribute description
45
45
  # The description of the job.
46
46
  #
47
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
47
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
48
48
  #
49
49
  # @return [String]
50
50
  attribute :description
@@ -52,7 +52,7 @@ module Jujube
52
52
  # @!attribute node
53
53
  # The Jenkins node or named group where the job should be run.
54
54
  #
55
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
55
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
56
56
  #
57
57
  # @return [String]
58
58
  attribute :node
@@ -60,7 +60,7 @@ module Jujube
60
60
  # @!attribute block_upstream
61
61
  # `true` if this job should block while upstream jobs are running.
62
62
  #
63
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
63
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
64
64
  #
65
65
  # @return [Boolean]
66
66
  attribute :block_upstream
@@ -68,7 +68,7 @@ module Jujube
68
68
  # @!attribute block_downstream
69
69
  # `true` if this job should block while downstream jobs are running.
70
70
  #
71
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
71
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
72
72
  #
73
73
  # @return [Boolean]
74
74
  attribute :block_downstream
@@ -76,15 +76,23 @@ module Jujube
76
76
  # @!attribute quiet_period
77
77
  # Number of seconds to wait between consecutive runs of the job.
78
78
  #
79
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
79
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
80
80
  #
81
81
  # @return [Fixnum]
82
82
  attribute :quiet_period
83
83
 
84
+ # @!attribute concurrent
85
+ # `true` if this job should be concurrent.
86
+ #
87
+ # See {https://docs.openstack.org/infra/jenkins-job-builder/definition.html?highlight=concurrent}.
88
+ #
89
+ # @return [Boolean]
90
+ attribute :concurrent
91
+
84
92
  # @!attribute disabled
85
93
  # `true` if this job should be disabled.
86
94
  #
87
- # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}.
95
+ # See {http://docs.openstack.org/infra/jenkins-job-builder/definition.html}.
88
96
  #
89
97
  # @return [Boolean]
90
98
  attribute :disabled
@@ -1,5 +1,5 @@
1
1
  # Top-level namespace for the gem.
2
2
  module Jujube
3
3
  # The current gem version.
4
- VERSION = "0.13.0"
4
+ VERSION = "0.14.0"
5
5
  end
@@ -40,6 +40,11 @@ class JobTest < Minitest::Test
40
40
  assert_yaml_matches("quiet-period: 42")
41
41
  end
42
42
 
43
+ def test_includes_concurrent
44
+ @job.concurrent = true
45
+ assert_yaml_matches("concurrent: true")
46
+ end
47
+
43
48
  def test_includes_disabled
44
49
  @job.disabled = true
45
50
  assert_yaml_matches("disabled: true")
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.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Randy Coulman
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-28 00:00:00.000000000 Z
11
+ date: 2020-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -153,7 +153,7 @@ homepage: https://github.com/randycoulman/jujube
153
153
  licenses:
154
154
  - MIT
155
155
  metadata: {}
156
- post_install_message:
156
+ post_install_message:
157
157
  rdoc_options: []
158
158
  require_paths:
159
159
  - lib
@@ -168,9 +168,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
168
  - !ruby/object:Gem::Version
169
169
  version: '0'
170
170
  requirements: []
171
- rubyforge_project:
172
- rubygems_version: 2.7.3
173
- signing_key:
171
+ rubygems_version: 3.0.1
172
+ signing_key:
174
173
  specification_version: 4
175
174
  summary: Ruby front-end for jenkins-job-builder
176
175
  test_files: