From 78d5dbd6ff75c237a51230872206db2487bd0d9b Mon Sep 17 00:00:00 2001 From: Randy Coulman Date: Fri, 8 Apr 2016 07:46:07 -0700 Subject: [PATCH] Update all doc links to new URLs - jenkins-job-builder documentation has moved, so update all links. --- CHANGELOG.md | 12 +++++------ README.md | 2 +- lib/jujube/components/builders.rb | 2 +- lib/jujube/components/parameters.rb | 6 +++--- lib/jujube/components/properties.rb | 4 ++-- lib/jujube/components/publishers.rb | 18 ++++++++-------- lib/jujube/components/scm.rb | 4 ++-- lib/jujube/components/triggers.rb | 4 ++-- lib/jujube/components/wrappers.rb | 4 ++-- lib/jujube/job.rb | 32 ++++++++++++++--------------- 10 files changed, 44 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec71946..759fdfc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,7 @@ adheres to [Semantic Versioning](http://semver.org/). ### Added -* Support the `priority_sorter` property. (see http://ci.openstack.org/jenkins-job-builder/properties.html#properties.priority-sorter). +* Support the `priority_sorter` property. (see http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.priority-sorter). * Links to documentation for the `fitnesse` publisher and `store` SCM that have now been merged into jenkins-job-builder. * This CHANGELOG. @@ -24,17 +24,17 @@ adheres to [Semantic Versioning](http://semver.org/). ### Added * Support the `disabled` job attribute -(see http://ci.openstack.org/jenkins-job-builder/general.html). +(see http://docs.openstack.org/infra/jenkins-job-builder/general.html). ## [0.8.0][0.8.0] - 2014-10-29 -* Support the `throttle` job property (see http://ci.openstack.org/jenkins-job-builder/properties.html#properties.throttle). +* Support the `throttle` job property (see http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.throttle). ## [0.7.0][0.7.0] - 2014-10-28 ### Added -* Support the `reverse` trigger (see http://ci.openstack.org/jenkins-job-builder/triggers.html#triggers.reverse). +* Support the `reverse` trigger (see http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.reverse). ## [0.6.0][0.6.0] - 2014-08-25 @@ -46,13 +46,13 @@ adheres to [Semantic Versioning](http://semver.org/). ### Added -* Support the `fitnesse` publisher (see http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.fitnesse). +* Support the `fitnesse` publisher (see http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.fitnesse). ## [0.5.1][0.5.1] - 2014-04-07 ### Added -* Support the `store` SCM (see http://ci.openstack.org/jenkins-job-builder/scm.html#scm.store). +* Support the `store` SCM (see http://docs.openstack.org/infra/jenkins-job-builder/scm.html#scm.store). ## [0.5.0][0.5.0] - 2014-03-28 diff --git a/README.md b/README.md index 9be2268..f11bdf7 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ uses of all of the supported attributes, sections, and components. In general, component options are typically specified as standard Ruby hashes. The option names are the same as in the -[jenkins-job-builder documentation](http://ci.openstack.org/jenkins-job-builder/), +[jenkins-job-builder documentation](http://docs.openstack.org/infra/jenkins-job-builder/), except that you need to use underscores (`_`) instead of dashes (`-`) in the option names. ### Helper Methods diff --git a/lib/jujube/components/builders.rb b/lib/jujube/components/builders.rb index 6357d7a..0dfe3fe 100644 --- a/lib/jujube/components/builders.rb +++ b/lib/jujube/components/builders.rb @@ -6,7 +6,7 @@ module Builders # Specify a `shell` builder for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/builders.html#builders.shell}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/builders.html#builders.shell}. # # @param command [String] The shell command to execute. # @return [Hash] The specification for the component. diff --git a/lib/jujube/components/parameters.rb b/lib/jujube/components/parameters.rb index 743513d..355635d 100644 --- a/lib/jujube/components/parameters.rb +++ b/lib/jujube/components/parameters.rb @@ -8,7 +8,7 @@ module Parameters # Specify a `label-expression` axis for a matrix job. # - # See {http://ci.openstack.org/jenkins-job-builder/project_matrix.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/project_matrix.html}. # # @param name [Symbol, String] The name of the axis. # @param values [Array] The values of the axis. @@ -19,7 +19,7 @@ def label_expression(name, values) # Specify a `slave` axis for a matrix job. # - # See {http://ci.openstack.org/jenkins-job-builder/project_matrix.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/project_matrix.html}. # # @param name [Symbol, String] The name of the axis. # @param values [Array] The values of the axis. @@ -32,7 +32,7 @@ def slave(name, values) # Specify an axis for a matrix job. # - # See {http://ci.openstack.org/jenkins-job-builder/project_matrix.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/project_matrix.html}. # # @param name [Symbol, String] The name of the axis. # @param values [Array] The values of the axis. diff --git a/lib/jujube/components/properties.rb b/lib/jujube/components/properties.rb index 9a377ba..7cefe85 100644 --- a/lib/jujube/components/properties.rb +++ b/lib/jujube/components/properties.rb @@ -8,7 +8,7 @@ module Properties # @!method priority_sorter(options = {}) # Specify a `priority-sorter` property for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/properties.html#properties.priority-sorter}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.priority-sorter}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -17,7 +17,7 @@ module Properties # @!method throttle(options = {}) # Specify a `throttle` property for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/properties.html#properties.throttle}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/properties.html#properties.throttle}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. diff --git a/lib/jujube/components/publishers.rb b/lib/jujube/components/publishers.rb index c9fa653..30e80fa 100644 --- a/lib/jujube/components/publishers.rb +++ b/lib/jujube/components/publishers.rb @@ -8,7 +8,7 @@ module Publishers # @!method archive(options = {}) # Specify an `archive` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.archive}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.archive}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -17,7 +17,7 @@ module Publishers # @!method cppcheck(options = {}) # Specify a `cppcheck` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.cppcheck}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.cppcheck}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -26,7 +26,7 @@ module Publishers # @!method email_ext(options = {}) # Specify an `email-ext` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.email-ext}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.email-ext}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -35,7 +35,7 @@ module Publishers # @!method fitnesse(options = {}) # Specify a `fitnesse` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.fitnesse}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.fitnesse}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -44,7 +44,7 @@ module Publishers # @!method ircbot(options = {}) # Specify an `ircbot` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.ircbot}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.ircbot}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -53,7 +53,7 @@ module Publishers # @!method junit(options = {}) # Specify a `junit` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.junit}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.junit}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -62,7 +62,7 @@ module Publishers # @!method trigger(options = {}) # Specify a `trigger` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.trigger}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.trigger}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -70,7 +70,7 @@ module Publishers # Specify an `xunit` publisher for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.xunit}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.xunit}. # # `xunit` can publish multiple sets of test results. The specification for each set # of test results is added in a nested configuration block using the {#unittest} method. @@ -95,7 +95,7 @@ def xunit(options = {}, &block) # @!method unittest(options = {}) # Configure a `unittest` test type for an {#xunit} publisher. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#publishers.xunit}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#publishers.xunit}. # # @param options [Hash] The configuration options for the test type. # @return [Hash] The specification for the test type. diff --git a/lib/jujube/components/scm.rb b/lib/jujube/components/scm.rb index 36c3561..d56fc7c 100644 --- a/lib/jujube/components/scm.rb +++ b/lib/jujube/components/scm.rb @@ -8,7 +8,7 @@ module Scm # @!method git(options = {}) # Specify a `git` SCM for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#scm.git}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#scm.git}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -16,7 +16,7 @@ module Scm # Specify a `store` SCM for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/scm.html#scm.store}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/scm.html#scm.store}. # # `store` can watch multiple pundles (packages or bundles) The specification for each # pundle is added in a nested configuration block using the {#package} or {#bundle} method. diff --git a/lib/jujube/components/triggers.rb b/lib/jujube/components/triggers.rb index a0d4ae1..b9ae412 100644 --- a/lib/jujube/components/triggers.rb +++ b/lib/jujube/components/triggers.rb @@ -9,7 +9,7 @@ module Triggers # # This trigger requires jenkins-job-builder 1.3.0 or later. # - # See {http://ci.openstack.org/jenkins-job-builder/triggers.html#triggers.pollscm}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.pollscm}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -41,7 +41,7 @@ def pollurl(options = {}, &block) # Specify a `reverse` trigger for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/triggers.html#triggers.reverse}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/triggers.html#triggers.reverse}. # # @param options [Hash] The reverse project trigger options. # @option options [String, Array] :jobs The jobs to watch. Note that diff --git a/lib/jujube/components/wrappers.rb b/lib/jujube/components/wrappers.rb index f43d8e6..b6c8426 100644 --- a/lib/jujube/components/wrappers.rb +++ b/lib/jujube/components/wrappers.rb @@ -8,7 +8,7 @@ module Wrappers # @!method timeout(options = {}) # Specify a `timeout` wrapper for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html#wrappers.timeout}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html#wrappers.timeout}. # # @param options [Hash] The configuration options for the component. # @return [Hash] The specification for the component. @@ -16,7 +16,7 @@ module Wrappers # Specify a `timestamps` wrapper for a job. # - # See {http://ci.openstack.org/jenkins-job-builder/wrappers.html#wrappers.timestamps}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/wrappers.html#wrappers.timestamps}. # # @return [Hash] The specification for the component. def timestamps diff --git a/lib/jujube/job.rb b/lib/jujube/job.rb index 838ee9d..f3a809d 100644 --- a/lib/jujube/job.rb +++ b/lib/jujube/job.rb @@ -27,7 +27,7 @@ def initialize(job_name) # @!attribute name # The name of the job - will be the name as seen in Jenkins. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [String] attribute :name @@ -36,7 +36,7 @@ def initialize(job_name) # The type of job. This normally does not need to be specified, as it # will be inferred as `matrix` if any `axes` are added. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [String] attribute :project_type @@ -44,7 +44,7 @@ def initialize(job_name) # @!attribute description # The description of the job. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [String] attribute :description @@ -52,7 +52,7 @@ def initialize(job_name) # @!attribute node # The Jenkins node or named group where the job should be run. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [String] attribute :node @@ -60,7 +60,7 @@ def initialize(job_name) # @!attribute block_upstream # `true` if this job should block while upstream jobs are running. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [Boolean] attribute :block_upstream @@ -68,7 +68,7 @@ def initialize(job_name) # @!attribute block_downstream # `true` if this job should block while downstream jobs are running. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [Boolean] attribute :block_downstream @@ -76,7 +76,7 @@ def initialize(job_name) # @!attribute quiet_period # Number of seconds to wait between consecutive runs of the job. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [Fixnum] attribute :quiet_period @@ -84,7 +84,7 @@ def initialize(job_name) # @!attribute disabled # `true` if this job should be disabled. # - # See {http://ci.openstack.org/jenkins-job-builder/general.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/general.html}. # # @return [Boolean] attribute :disabled @@ -99,7 +99,7 @@ def initialize(job_name) # Add axes in the job's configuration block using helper methods defined in # {Components::Parameters}. # - # See {http://ci.openstack.org/jenkins-job-builder/project_matrix.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/project_matrix.html}. # # @return [Array] section :axes @@ -110,7 +110,7 @@ def initialize(job_name) # Add properties in the job's configuration block using helper methods defined in # {Components::Properties}. # - # See {http://ci.openstack.org/jenkins-job-builder/properties.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/properties.html}. # # @return [Array] section :properties @@ -121,7 +121,7 @@ def initialize(job_name) # Add SCMs in the job's configuration block using helper methods defined in # {Components::Scm}. # - # See {http://ci.openstack.org/jenkins-job-builder/scm.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/scm.html}. # # @return [Array] section :scm @@ -132,7 +132,7 @@ def initialize(job_name) # Add triggers in the job's configuration block using helper methods defined in # {Components::Triggers}. # - # See {http://ci.openstack.org/jenkins-job-builder/triggers.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/triggers.html}. # # @return [Array] section :triggers @@ -143,7 +143,7 @@ def initialize(job_name) # Add wrappers in the job's configuration block using helper methods defined in # {Components::Wrappers}. # - # See {http://ci.openstack.org/jenkins-job-builder/wrappers.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/wrappers.html}. # # @return [Array] section :wrappers @@ -154,7 +154,7 @@ def initialize(job_name) # Add builders in the job's configuration block using helper methods defined in # {Components::Builders}. # - # See {http://ci.openstack.org/jenkins-job-builder/builders.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/builders.html}. # # @return [Array] section :builders @@ -165,7 +165,7 @@ def initialize(job_name) # Add publishers in the job's configuration block using helper methods defined in # {Components::Publishers}. # - # See {http://ci.openstack.org/jenkins-job-builder/publishers.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/publishers.html}. # # @return [Array] section :publishers @@ -176,7 +176,7 @@ def initialize(job_name) # Add notifications in the job's configuration block using helper methods defined in # {Components::Notifications}. # - # See {http://ci.openstack.org/jenkins-job-builder/notifications.html}. + # See {http://docs.openstack.org/infra/jenkins-job-builder/notifications.html}. # # @return [Array] section :notifications