Reputation: 29
I'm using Jenkins since a little moment now, but I wanted to do something and I can't find how to do it...
In deed, I want to trigger my projects with two differents way: every 4 hours and for every commit. But for each case, I don't want that all my Jenkinsfile is executed, only some specific stages.
Is it possible to do that with Declarative Pipelines ?
Thanks in advance
Upvotes: 2
Views: 5687
Reputation: 888
Unfortunately this is not available out of the box yet. Cloudbees has a proprietary plugin called "checkpoints" which can do that, see plugin docs here.
This plugin may be added in Jenkins by default in near future, see this issue.
PS: This is duplicate of Jenkins Build Pipeline - Restart At Stage (can't mark it as duplicated)
Upvotes: 1