From 56d0955202b70f62950af01a712e9da31a906f82 Mon Sep 17 00:00:00 2001 From: sahilleth Date: Sat, 28 Feb 2026 14:40:40 +0530 Subject: [PATCH] Migrate documentation from wiki to GitHub - Add README.md with content from Jenkins wiki - Update pom.xml url to point to GitHub repository - Fix link to URL Trigger plugin (wiki -> plugins.jenkins.io) See jenkinsci/jenkins#25425 --- README.md | 35 +++++++++++++++++++++++++++++++++++ pom.xml | 2 +- 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7a43ed9 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# URL SCM Plugin + +This plugin allows the use of URLs as an SCM. + +This is an SCM plugin for Jenkins. While URLs are not actually a proper +SCM, the two main behaviors of an SCM are supported - checkout and +polling. Polling is accomplished by checking the last-modified property +of the URL. Checkout is accomplished by copying the content of the URL +into the workspace as a file. The file is given the same name as the +final filename component of the URL. URLs without a filename component +cannot be used at this time. + +This does duplicate some of what the [URL Trigger plugin](https://plugins.jenkins.io/urltrigger) does. + +Benefits of this plugin over the URL Trigger plugin: + +1. You can choose your own polling schedule via the SCM Polling trigger. +2. Less resource intensive polling mechanism, since checking last-modified requires few bytes to transfer, regardless of the amount of data in the URL. + +Benefits of the URL Trigger plugin over this plugin: + +1. Jenkins only supports one SCM plugin per project. If you want to trigger an SCM checkout via a URL, then URL Trigger is a better choice. +2. The last-modified property of a URL is not the right trigger for your builds, instead you need the content of the URL to change to trigger a build. + +## Changelog + +##### Version 1.6 (Nov 2, 2011) + +- JENKINS-11572 + +##### Version 1.5 (Jan 27, 2010) + +- Update code for more recent Hudson + +##### Version 1.4 (Jun 24, 2008) diff --git a/pom.xml b/pom.xml index 49e5f13..7ad8b75 100644 --- a/pom.xml +++ b/pom.xml @@ -41,7 +41,7 @@ URL SCM plugin Allows specification of URLs to poll and copy into the workspace - http://wiki.jenkins-ci.org/display/JENKINS/URL+SCM + https://github.com/jenkinsci/URLSCM-plugin