Plugin Information
The URL Change Trigger plugin allows you to trigger a Hudson build when the content of a URL changes.
Setting up the URL Change Trigger is easy. Once you've installed the plugin, you'll see a new entry on the list of "Build Triggers" on your project configuration page, labeled "Build when an URL's content changes." Check it and fill in the URL. (It may be a "file:" URL, if you like; that will trigger a build whenever a file on your file system changes. This can be useful if you've mounted a remote network share using NFS or SMB/CIFS.)
Hudson will download the content at that URL once a minute. If the content changes, your build will launch.
We use the URL Change Trigger at Redfin to run our automated UI tests whenever our internal staging website is updated. Redfin dev blog
Change Log
Version 1.2 (Dec 29, 2009)
- Fix help link
- Add cause information in builds
- Updated uses of deprecated APIs
Version 1.1 (Jan 18, 2009)
Comments (3)
May 03, 2010
kaizer says:
This is a very useful plugin. I was wondering if there are any plans to allow fo...This is a very useful plugin. I was wondering if there are any plans to allow for configuration of URL polling time and to poll on more than one URLs with some AND/OR logic operations. Thanks!
Sep 29, 2010
JacquesDeMolay says:
Hello, URL Change Trigger Plugin works with ¿site secure? For example url as th...Hello,
URL Change Trigger Plugin works with ¿site secure? For example url as this:
https://server:port/....
Can you explain me?
Thank you
Jun 09, 2011
kevmass says:
I agree with kaizer! Very useful plugin but need the ability to poll the file p...I agree with kaizer! Very useful plugin but need the ability to poll the file pointed to by the URL at regular intervals. This would give the functionality to not build EVERY time the file changes, but rather to check the file at specified times and "Build if changed" at those times.
Implementation could be the same as the "Build Periodically" option for build trigger:
Formatting could be the same:
This field follows the syntax of cron (with minor differences). Specifically, each line consists of 5 fields separated by TAB or whitespace:
MINUTE HOUR DOM MONTH DOW
MINUTE Minutes within the hour (0-59)
HOUR The hour of the day (0-23)
DOM The day of the month (1-31)
MONTH The month (1-12)
DOW The day of the week (0-7) where 0 and 7 are Sunday.
Examples
5 * * * *