TOPIC 07/1916 MINNOT STARTED

Jenkins part 3: triggers, schedules and parameters

Start a Jenkins job on a timer or after a change, give it choices such as the environment to test, and read how the time and the choices are written.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: an alarm clock and a menu card. The alarm starts the coffee machine on weekday mornings. The menu card lets a person pick a strong or a mild drink when they start it by hand. The alarm cannot ask. It uses the drink written first on the card.

The alarm is the trigger and the . The menu card is the .

Tom, a tester at Daily List, a to-do list app, sets both. Mei uses Build with Parameters when she wants staging.

What it is: This is a slice of Jenkins, the (CI) server from the first job. A starts a job with no press of Build Now, and a cron schedule is the five-field timer. A build parameter is a choice such as which environment to test. GitHub Actions schedules are the neighbour, and they use UTC (Coordinated Universal Time). A Jenkins cron line uses the controller clock unless you set a zone.

Why it matters: Tom should not sit and press Build Now every night. A weekday schedule runs the Daily List smoke job while the office is quiet. A parameter lets Mei aim the same job at test or staging. If the safe value is not the default, a timer run can hit the wrong site, because a timer cannot ask.

PLAIN WORDS · 2 in this section
cron
a tool that runs jobs at set times
github
a web site that hosts code and runs checks

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB An alarm clock and a menu card for a coffee machine.

  1. Alarm
  2. Menu
  3. Usual
Coffee machine

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The alarm clockThe build trigger
The time on the alarmThe cron schedule
The menu cardThe build parameters
The usual drinkThe default value

WHERE THIS PICTURE STOPS

  • An alarm repeats exactly, but H moves the minute.
  • A menu card asks a person, but a timer cannot ask.
  • A drink is made once, but a parameter is read by the job.

HOOK

Alarm, menu, usual drink.

TELL A FRIEND

An alarm and a menu card.

OFTEN MIXED UP WITH Jenkins from zero: install, a first job, Build Now and the console output. That topic starts a job by hand. This one starts it on a timer and gives it choices.

PRACTISE AND KEEP

Sources for this topic — 1 source
  1. Market practice

    Pipeline syntax: triggers and parameters (Jenkins documentation) ↗ — Jenkins · Jenkins docs: the triggers directive supports cron and pollSCM with a cron-style schedule, the H symbol spreads load, the schedule uses the controller time zone unless set, and the parameters directive lists the values a user supplies and are read through the params object

    The Jenkins pages on pipeline syntax: the triggers directive supports cron and pollSCM with a cron-style schedule, the H symbol spreads load, the schedule uses the controller time zone, and the parameters directive lists values read through the params object. · Checked 2026-10-31

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.