Fixing documentation for the timed trigger

Change-Id: Icdfb6295fb3a2c5bfbb411995bf67e8075197b86
Reviewed-on: https://review.openstack.org/14914
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
william.soula 2012-10-26 12:49:17 -05:00 committed by Jenkins
parent 090eab01db
commit a9e2a2bd9b
1 changed files with 4 additions and 4 deletions

View File

@ -140,15 +140,15 @@ def pollscm(parser, xml_parent, data):
def timed(parser, xml_parent, data):
"""yaml: pollscm
Poll the SCM to determine if there has been a change.
"""yaml: timed
Trigger builds at certain times.
:Parameter: the polling interval (cron syntax)
:Parameter: when to run the job (cron syntax)
Example:
trigger:
- pollscm: "@midnight"
- timed: "@midnight"
"""
scmtrig = XML.SubElement(xml_parent, 'hudson.triggers.TimerTrigger')
XML.SubElement(scmtrig, 'spec').text = data