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

Add support for Jenkins-style 'H' seed job's cron field #695

Closed
surmabck opened this issue Jan 4, 2022 · 3 comments
Closed

Add support for Jenkins-style 'H' seed job's cron field #695

surmabck opened this issue Jan 4, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@surmabck
Copy link

surmabck commented Jan 4, 2022

Describe the bug
Currently, it is not possible to configure seed jobs using Jenkins-style 'H' hashed field value, cuz Jenkins Operator's validation is delegating cron expression validation to robfig/cron which obviously does not support it.
'H' expressions are really cool feature of Jenkins which Jenkins native operator should support.

To Reproduce
Declare seed job with

buildPeriodically: 'H/10 * * * *'

and observe operator output

Additional information
This is the line which is causing it

Kubernetes version:
1.21.1
Jenkins Operator version:
0.7.0

Add error logs about the problem here (operator logs and Kubernetes events).
N/A

@surmabck surmabck added the bug Something isn't working label Jan 4, 2022
@prryb prryb self-assigned this Jan 4, 2022
@prryb prryb assigned MKajzik and unassigned prryb Feb 3, 2022
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still affecting you, just comment with any updates and we'll keep it open. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
@surmabck
Copy link
Author

surmabck commented Jun 7, 2022

Any update on this?

@stale stale bot removed the stale label Jun 7, 2022
@prryb
Copy link
Collaborator

prryb commented Jun 21, 2022

That validation is gone for now. Released in v0.7.1.

@prryb prryb closed this as completed Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants