summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarragh Bailey <dbailey@hpe.com>2016-01-21 19:39:09 +0000
committerDarragh Bailey <dbailey@hpe.com>2016-04-22 15:11:47 +0100
commita6d021ab4f6639fc86fdb5a2f99db27678551631 (patch)
treeb24a42845f79e53e81b683a0bf0bcce4ab5e2a9f
parentc424332b16899b45567b602927ea72da7022b7a5 (diff)
downloadpython-jenkins-job-builder-a6d021ab4f6639fc86fdb5a2f99db27678551631.tar.gz
python-jenkins-job-builder-a6d021ab4f6639fc86fdb5a2f99db27678551631.tar.xz
python-jenkins-job-builder-a6d021ab4f6639fc86fdb5a2f99db27678551631.zip
Update Urls for redirects and broken
Update Urls broken in the documentation and code to results of redirects or where the correct endpoint is known. Change-Id: Ie4ef2d1e207c7a98295625ed2cb74ab37e85730d (cherry picked from commit 63ca017d0a728a96e8a8a1128d309f79bea7c769)
-rw-r--r--README.rst2
-rw-r--r--jenkins_jobs/modules/builders.py5
-rw-r--r--jenkins_jobs/modules/publishers.py7
-rw-r--r--jenkins_jobs/modules/scm.py12
-rw-r--r--jenkins_jobs/modules/triggers.py4
-rw-r--r--jenkins_jobs/modules/wrappers.py14
-rw-r--r--tests/wrappers/fixtures/rbenv001.xml4
-rw-r--r--tests/wrappers/fixtures/rbenv002.xml4
8 files changed, 28 insertions, 24 deletions
diff --git a/README.rst b/README.rst
index 9ebee937..746cda0c 100644
--- a/README.rst
+++ b/README.rst
@@ -75,7 +75,7 @@ Then install the required python packages using pip_::
$ sudo pip install PyYAML python-jenkins
-.. _Jenkins: http://jenkins-ci.org/
+.. _Jenkins: https://jenkins.io/
.. _YAML: http://www.yaml.org/
.. _JSON: http://json.org/
.. _pep8: https://pypi.python.org/pypi/pep8
diff --git a/jenkins_jobs/modules/builders.py b/jenkins_jobs/modules/builders.py
index 3f3eaad0..63e37d10 100644
--- a/jenkins_jobs/modules/builders.py
+++ b/jenkins_jobs/modules/builders.py
@@ -2322,7 +2322,10 @@ def sonar(parser, xml_parent, data):
"""yaml: sonar
Invoke standalone Sonar analysis.
Requires the Jenkins `Sonar Plugin.
- <http://docs.codehaus.org/pages/viewpage.action?pageId=116359341>`_
+ <http://docs.sonarqube.org/display/SCAN/\
+ Analyzing+with+SonarQube+Scanner+for+Jenkins\
+ #AnalyzingwithSonarQubeScannerforJenkins-\
+ AnalyzingwiththeSonarQubeScanner>`_
:arg str sonar-name: Name of the Sonar installation.
:arg str task: Task to run. (optional)
diff --git a/jenkins_jobs/modules/publishers.py b/jenkins_jobs/modules/publishers.py
index 1990e2cd..b2bfc858 100644
--- a/jenkins_jobs/modules/publishers.py
+++ b/jenkins_jobs/modules/publishers.py
@@ -1047,7 +1047,7 @@ def cucumber_reports(parser, xml_parent, data):
:arg str file-include-pattern: include pattern (default '')
:arg str file-exclude-pattern: exclude pattern (default '')
:arg str plugin-url-path: The path to the jenkins user content url
- e.g. http://host:port[/jenkins/]plugin - leave empty if jenkins
+ e.g. :samp:`http://host:port[/jenkins/]plugin` - leave empty if jenkins
url root is host:port (default '')
:arg bool skipped-fails: skipped steps to cause the build to fail
(default false)
@@ -2269,7 +2269,8 @@ def sonar(parser, xml_parent, data):
"""yaml: sonar
Sonar plugin support.
Requires the Jenkins `Sonar Plugin.
- <http://docs.sonarqube.org/display/PLUG/Jenkins+Plugin>`_
+ <http://docs.sonarqube.org/display/SONAR/\
+ Analyzing+with+SonarQube+Scanner+for+Jenkins>`_
:arg str jdk: JDK to use (inherited from the job if omitted). (optional)
:arg str branch: branch onto which the analysis will be posted (optional)
@@ -5714,7 +5715,7 @@ def phabricator(parser, xml_parent, data):
Integrate with `Phabricator <http://phabricator.org/>`_
Requires the Jenkins :jenkins-wiki:`Phabricator Plugin
- <Phabricator+Plugin>`.
+ <Phabricator+Differential+Plugin>`.
:arg bool comment-on-success: Post a *comment* when the build
succeeds. (optional)
diff --git a/jenkins_jobs/modules/scm.py b/jenkins_jobs/modules/scm.py
index ddabf244..573d1c81 100644
--- a/jenkins_jobs/modules/scm.py
+++ b/jenkins_jobs/modules/scm.py
@@ -116,9 +116,9 @@ def git(parser, xml_parent, data):
:browsers supported:
* **auto** - (default)
- * **assemblaweb** - https://www.assembla.com/
- * **bitbucketweb** - https://www.bitbucket.org/
- * **cgit** - http://git.zx2c4.com/cgit/about/
+ * **assemblaweb** - https://www.assembla.com/home
+ * **bitbucketweb** - https://bitbucket.org/
+ * **cgit** - https://git.zx2c4.com/cgit/about/
* **fisheye** - https://www.atlassian.com/software/fisheye
* **gitblit** - http://gitblit.com/
* **githubweb** - https://github.com/
@@ -126,13 +126,13 @@ def git(parser, xml_parent, data):
* **gitlab** - https://about.gitlab.com/
* **gitlist** - http://gitlist.org/
* **gitoriousweb** - https://gitorious.org/
- * **gitweb** - http://git-scm.com/docs/gitweb
+ * **gitweb** - https://git-scm.com/docs/gitweb
* **kiln** - https://www.fogcreek.com/kiln/
* **microsoft\-tfs\-2013** - |tfs_2013|
* **phabricator** - http://phabricator.org/
* **redmineweb** - http://www.redmine.org/
* **rhodecode** - https://rhodecode.com/
- * **stash** - https://www.atlassian.com/software/stash
+ * **stash** - https://www.atlassian.com/software/bitbucket/server
* **viewgit** - http://viewgit.fealdia.org/
:arg str browser-url: url for the repository browser (required if browser
is not 'auto', no default)
@@ -994,7 +994,7 @@ def hg(self, xml_parent, data):
:browsers supported:
* **auto** - (default)
- * **bitbucketweb** - https://www.bitbucket.org/
+ * **bitbucketweb** - https://bitbucket.org/
* **fisheye** - https://www.atlassian.com/software/fisheye
* **googlecode** - https://code.google.com/
* **hgweb** - https://www.selenic.com/hg/help/hgweb
diff --git a/jenkins_jobs/modules/triggers.py b/jenkins_jobs/modules/triggers.py
index fa5f991c..e8d27ba6 100644
--- a/jenkins_jobs/modules/triggers.py
+++ b/jenkins_jobs/modules/triggers.py
@@ -1244,7 +1244,7 @@ def monitor_folders(parser, xml_parent, data):
"""yaml: monitor-folders
Configure Jenkins to monitor folders.
Requires the Jenkins :jenkins-wiki:`Filesystem Trigger Plugin
- <FSTriggerPlugin>`.
+ <FSTrigger+Plugin>`.
:arg str path: Folder path to poll. (optional)
:arg list includes: Fileset includes setting that specifies the list of
@@ -1287,7 +1287,7 @@ def monitor_files(parser, xml_parent, data):
"""yaml: monitor-files
Configure Jenkins to monitor files.
Requires the Jenkins :jenkins-wiki:`Filesystem Trigger Plugin
- <FSTriggerPlugin>`.
+ <FSTrigger+Plugin>`.
:arg list files: List of files to monitor
diff --git a/jenkins_jobs/modules/wrappers.py b/jenkins_jobs/modules/wrappers.py
index ada8b07a..80aff8e9 100644
--- a/jenkins_jobs/modules/wrappers.py
+++ b/jenkins_jobs/modules/wrappers.py
@@ -498,10 +498,10 @@ def rbenv(parser, xml_parent, data):
(default: 'bundler,rake')
:arg str rbenv-root: RBENV_ROOT (default: $HOME/.rbenv)
:arg str rbenv-repo: Which repo to clone rbenv from
- (default: https://github.com/sstephenson/rbenv.git)
+ (default: https://github.com/rbenv/rbenv)
:arg str rbenv-branch: Which branch to clone rbenv from (default: master)
:arg str ruby-build-repo: Which repo to clone ruby-build from
- (default: https://github.com/sstephenson/ruby-build.git)
+ (default: https://github.com/rbenv/ruby-build)
:arg str ruby-build-branch: Which branch to clone ruby-build from
(default: master)
@@ -515,10 +515,10 @@ def rbenv(parser, xml_parent, data):
("preinstall-gem-list", 'gem__list', 'bundler,rake'),
("rbenv-root", 'rbenv__root', '$HOME/.rbenv'),
("rbenv-repo", 'rbenv__repository',
- 'https://github.com/sstephenson/rbenv.git'),
+ 'https://github.com/rbenv/rbenv'),
("rbenv-branch", 'rbenv__revision', 'master'),
("ruby-build-repo", 'ruby__build__repository',
- 'https://github.com/sstephenson/ruby-build.git'),
+ 'https://github.com/rbenv/ruby-build'),
("ruby-build-branch", 'ruby__build__revision', 'master'),
("ruby-version", 'version', '1.9.3-p484'),
]
@@ -1708,7 +1708,7 @@ def artifactory_maven(parser, xml_parent, data):
:jenkins-wiki:`Artifactory Plugin <Artifactory+Plugin>`
:arg str url: URL of the Artifactory server. e.g.
- http://www.jfrog.com/artifactory/ (default '')
+ https://www.jfrog.com/artifactory/ (default '')
:arg str name: Artifactory user with permissions use for
connected to the selected Artifactory Server
(default '')
@@ -1753,7 +1753,7 @@ def artifactory_generic(parser, xml_parent, data):
:jenkins-wiki:`Artifactory Plugin <Artifactory+Plugin>`
:arg str url: URL of the Artifactory server. e.g.
- http://www.jfrog.com/artifactory/ (default: '')
+ https://www.jfrog.com/artifactory/ (default: '')
:arg str name: Artifactory user with permissions use for
connected to the selected Artifactory Server
(default '')
@@ -1830,7 +1830,7 @@ def artifactory_maven_freestyle(parser, xml_parent, data):
Requires :jenkins-wiki:`Artifactory Plugin <Artifactory+Plugin>`
:arg str url: URL of the Artifactory server. e.g.
- http://www.jfrog.com/artifactory/ (default: '')
+ https://www.jfrog.com/artifactory/ (default: '')
:arg str name: Artifactory user with permissions use for
connected to the selected Artifactory Server (default '')
:arg str release-repo-key: Release repository name (default '')
diff --git a/tests/wrappers/fixtures/rbenv001.xml b/tests/wrappers/fixtures/rbenv001.xml
index 0d6c990c..7d2618df 100644
--- a/tests/wrappers/fixtures/rbenv001.xml
+++ b/tests/wrappers/fixtures/rbenv001.xml
@@ -7,9 +7,9 @@
<object pluginid="rbenv" ruby-class="RbenvWrapper">
<gem__list pluginid="rbenv" ruby-class="String">bundler,rake</gem__list>
<rbenv__root pluginid="rbenv" ruby-class="String">$HOME/.rbenv</rbenv__root>
- <rbenv__repository pluginid="rbenv" ruby-class="String">https://github.com/sstephenson/rbenv.git</rbenv__repository>
+ <rbenv__repository pluginid="rbenv" ruby-class="String">https://github.com/rbenv/rbenv</rbenv__repository>
<rbenv__revision pluginid="rbenv" ruby-class="String">master</rbenv__revision>
- <ruby__build__repository pluginid="rbenv" ruby-class="String">https://github.com/sstephenson/ruby-build.git</ruby__build__repository>
+ <ruby__build__repository pluginid="rbenv" ruby-class="String">https://github.com/rbenv/ruby-build</ruby__build__repository>
<ruby__build__revision pluginid="rbenv" ruby-class="String">master</ruby__build__revision>
<version pluginid="rbenv" ruby-class="String">1.9.3-p484</version>
<ignore__local__version pluginid="rbenv" ruby-class="FalseClass"/>
diff --git a/tests/wrappers/fixtures/rbenv002.xml b/tests/wrappers/fixtures/rbenv002.xml
index d250abea..d4001da3 100644
--- a/tests/wrappers/fixtures/rbenv002.xml
+++ b/tests/wrappers/fixtures/rbenv002.xml
@@ -7,9 +7,9 @@
<object pluginid="rbenv" ruby-class="RbenvWrapper">
<gem__list pluginid="rbenv" ruby-class="String">bundler,rake</gem__list>
<rbenv__root pluginid="rbenv" ruby-class="String">$HOME/.rbenv</rbenv__root>
- <rbenv__repository pluginid="rbenv" ruby-class="String">https://github.com/sstephenson/rbenv.git</rbenv__repository>
+ <rbenv__repository pluginid="rbenv" ruby-class="String">https://github.com/rbenv/rbenv</rbenv__repository>
<rbenv__revision pluginid="rbenv" ruby-class="String">master</rbenv__revision>
- <ruby__build__repository pluginid="rbenv" ruby-class="String">https://github.com/sstephenson/ruby-build.git</ruby__build__repository>
+ <ruby__build__repository pluginid="rbenv" ruby-class="String">https://github.com/rbenv/ruby-build</ruby__build__repository>
<ruby__build__revision pluginid="rbenv" ruby-class="String">master</ruby__build__revision>
<version pluginid="rbenv" ruby-class="String">2.0.0-p353</version>
<ignore__local__version pluginid="rbenv" ruby-class="TrueClass"/>