SOFTWARE ENGINEERING

EMERGING TRENDS IN SOFTWARE ENGINEERING

DEVOPS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How to schedule jenkins job?
A
build periodically
B
build timely
C
build at a time
D
alarm
Explanation: 

Detailed explanation-1: -click on “Configure” of the job requirement. scroll down to “Build Triggers”-subtitle. Click on the checkBox of Build periodically. Add time schedule in the Schedule field, for example: midnight.

Detailed explanation-2: -To run the job at a regular interval of 15 minutes you have to write it like below: */15 * * * *-Will run at every 15 minutes (may be at XX:01, XX:16, XX:31 ..) Where */15 specifies no matter whatever is Hour (H) run it at 15 every minutes.

Detailed explanation-3: -In the Build Triggers section, instead of selecting Build Periodically, let’s select Poll SCM. As soon as we do that, we should see a text box with Label Schedule. Let’s type */5 * * * * in this box, which means we want to schedule the job to run every 5 minutes: Let’s scroll up to Source Code Management section.

There is 1 question to complete.