Jenkins Build Pipeline Plugin Scheduled Trigger

0 votes
How can I schedule a build pipeline to run at a certain time just like a regular job can be?
Jul 11, 2018 in Jenkins by Tyrion anex
• 8,690 points
3,395 views

1 answer to this question.

0 votes

This can be done by setting the job parameters using the following syntax:

properties([pipelineTriggers([cron('H 22 * * *')])])

Executing this line in your build script or Jenkinsfile will configure the job to run every night at 10PM

answered Jul 11, 2018 by Sophie may
• 10,550 points

Related Questions In Jenkins

0 votes
2 answers
0 votes
1 answer

How to trigger a build on commit to branch in declarative pipeline

Hi@Madhura, You can use triggers keyword in your ...READ MORE

answered Jul 9, 2020 in Jenkins by MD
• 95,300 points
1,258 views
0 votes
1 answer

How to setup which trigger email notification to email id's in Jenkins pipeline script at every stage?

Hi@Shashi, You need to install some plugins in ...READ MORE

answered Sep 18, 2020 in Jenkins by MD
• 95,300 points
1,758 views
+1 vote
2 answers

What possible return values are there in Jenkins plugin “Sonarqube scanner”

Use Webhooks in SonarQube Administration setup to ...READ MORE

answered Aug 3, 2018 in Jenkins by Nilesh
• 7,040 points
3,358 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,289 views
+2 votes
1 answer
+5 votes
3 answers

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 10,550 points
60,872 views
0 votes
2 answers

Jenkins Pipeline: Build using parameters

First, as @sophie may mentioned it you should name ...READ MORE

answered Aug 8, 2019 in Jenkins by Sirajul
• 59,070 points
7,082 views