Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jobs/build-development: make development streams build daily #973

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion jobs/build-development.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ node {
}

properties([
pipelineTriggers(pipeutils.get_push_trigger()),
pipelineTriggers([
// run every 24h only for now
cron("H H * * *")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine this timer wouldn't coincide/run at exactly the same time each day as build-mechanical right? Otherwise we'd want to do something different.

Copy link
Contributor

@jbtrystram jbtrystram Apr 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jenkins have a built-in feature to randomize the start hours while respecting the periodicity, when you write H
https://www.jenkins.io/doc/book/pipeline/syntax/#cron-syntax

So from my understanding this should be good

]),
durabilityHint('PERFORMANCE_OPTIMIZED')
])

Expand Down