I would like to trigger a Jenkins build when the following conditions are met:
- Time is 22:00 PM
- A commit has occurred since the last build
I have only been able to either run it nightly (whether there has been a commit or not) using the Build periodically trigger, or only after a commit using the Poll SCM trigger or just a webhook from Stash.
I've tried using both Poll SCM and Build periodically but it ends but never running.
Does anyone have a solution for this case?
I would like my nightly to run only if there's been development activity.