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

feat(Jenkinsfile_gc) adds cron trigger expression #1531

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

jayfranco999
Copy link
Collaborator

Related to jenkins-infra/helpdesk#4355 (comment)

As per #1526 (review)

We add cron trigger expression to the pipeline to execute only once daily.

Signed-off-by: jayfranco999 <[email protected]>
Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

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

  • This PR has not been tested: it fails with the following error:
08:56:07             WorkflowScript: 6: Unknown stage section "triggers". Starting with version 0.5, steps in a stage must be in a ‘steps’ block. @ line 6, column 9.
08:56:07             stage('Garbage Collection') {

=> when changing a pipeline in a PR, start in Draft, validate your change and then turn the PR ready to review once you're sure it is at least parseable (or test the pipeline locally on a custom Jenkins container)

In addition, @yearly, @annually, @monthly, @weekly, @daily, @midnight, and @hourly are supported as convenient aliases.

@jayfranco999 jayfranco999 marked this pull request as draft November 18, 2024 08:28
Signed-off-by: jayfranco999 <[email protected]>
Jenkinsfile_gc Outdated Show resolved Hide resolved
Co-authored-by: Damien Duportal <[email protected]>
@jayfranco999 jayfranco999 marked this pull request as ready for review November 18, 2024 10:03
Signed-off-by: jayfranco999 <[email protected]>
@dduportal dduportal merged commit 1d91a78 into jenkins-infra:main Nov 18, 2024
1 check was pending
jayfranco999 added a commit to jayfranco999/packer-images that referenced this pull request Nov 26, 2024
* feat

Signed-off-by: jayfranco999 <[email protected]>

* fixup

Signed-off-by: jayfranco999 <[email protected]>

* Update Jenkinsfile_gc

Co-authored-by: Damien Duportal <[email protected]>

* fixup

Signed-off-by: jayfranco999 <[email protected]>

---------

Signed-off-by: jayfranco999 <[email protected]>
Co-authored-by: Damien Duportal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants