-
Notifications
You must be signed in to change notification settings - Fork 20
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: GuillaumeRochat/cron-validator
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: lobaro/cron-validator
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
Can’t automatically merge.
Don’t worry, you can still create the pull request.
- 17 commits
- 3 files changed
- 2 contributors
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5285532 - Browse repository at this point
Copy the full SHA 5285532View commit details -
From Jenkins CRONs: Is replaced with a pseudo-random number, to allow load spreading for regular jobs (builds etc.) That number stays consistent as long as the Jenkins job title stays the same. Plan is to accept H (if the right option is set), and validate its ranges. Maybe even multiple H in one field? More infos here: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/triggers/TimerTrigger/help-spec.jelly
Configuration menu - View commit details
-
Copy full SHA for 8923132 - Browse repository at this point
Copy the full SHA 8923132View commit details
Commits on Jul 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1bcdc69 - Browse repository at this point
Copy the full SHA 1bcdc69View commit details
Commits on Jul 24, 2023
-
Add tests with H in ranges -> invalid CRONs Add tests with H as step size -> invalid CRONs Fix tests with (in)valid H ranges Remove test with wrong step value; currently not validated
Configuration menu - View commit details
-
Copy full SHA for 8894ec3 - Browse repository at this point
Copy the full SHA 8894ec3View commit details -
All fields are checked for 'H' present in it if "allowHashed" is set in options. If there is one, it is split into its range and accepted if its range is ok, or checked if it's only 'H'.
Configuration menu - View commit details
-
Copy full SHA for 02c5d0b - Browse repository at this point
Copy the full SHA 02c5d0bView commit details
Commits on Jul 25, 2023
-
L can be used in the DOM or DOW field. In DOM it means the last day of the month, with an offset if set (to second-last, ... day In DOW it means either Saturday or the last x-day of the month, e. g. 2L means the last Monday of the month.
Configuration menu - View commit details
-
Copy full SHA for 43e7c47 - Browse repository at this point
Copy the full SHA 43e7c47View commit details
Commits on Jul 26, 2023
-
Add check for reversed range in H
Also verify the range used in H starts from the lower value of the range.
Configuration menu - View commit details
-
Copy full SHA for c6b48cd - Browse repository at this point
Copy the full SHA c6b48cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfc3e8e - Browse repository at this point
Copy the full SHA cfc3e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5991c7 - Browse repository at this point
Copy the full SHA a5991c7View commit details -
W can be used to trigger on the next working week day (MON-FRI) to the day of month specified in front of it.
Configuration menu - View commit details
-
Copy full SHA for 87a49e6 - Browse repository at this point
Copy the full SHA 87a49e6View commit details -
Try to validate W if allowWeekday is set, by ensuring it is not in a range and the DOM in front of it is valid.
Configuration menu - View commit details
-
Copy full SHA for d082dd9 - Browse repository at this point
Copy the full SHA d082dd9View commit details
Commits on Jul 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2076f65 - Browse repository at this point
Copy the full SHA 2076f65View commit details
Commits on Jul 31, 2023
-
Merge pull request #1 from lobaro/hwl-validator
H, W, and L validator Allows validation of CRONs using H, W and L in cron-validator: - H will be a pseudo-random number for a field, linked to the project name or something similar. It allows easier load balancing. See Jenkins doc - W can be written after a day of month to ensure the CRON is executed on the closest working week day (Mon-Fri). - L can either mean the last day of month/day of week, or x days before that if used with an offset (L-x), or the last working week day of a month if used with W (LW).
Configuration menu - View commit details
-
Copy full SHA for e7336c6 - Browse repository at this point
Copy the full SHA e7336c6View commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c02293c - Browse repository at this point
Copy the full SHA c02293cView commit details -
Merge pull request #2 from lobaro/hwl-validator
Add test for incomplete H range
Configuration menu - View commit details
-
Copy full SHA for 6d20cee - Browse repository at this point
Copy the full SHA 6d20ceeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1588a31 - Browse repository at this point
Copy the full SHA 1588a31View commit details
Commits on Aug 14, 2023
-
L and W flags cannot be used in iterators/as step values. Add tests for wrong usage of these in CRONs, and a check for these in validateForRange.
Configuration menu - View commit details
-
Copy full SHA for 7702970 - Browse repository at this point
Copy the full SHA 7702970View commit details
There are no files selected for viewing