gitlab-branch-source-plugin
gitlab-branch-source-plugin copied to clipboard
Is it possible to schedule a build ?
What feature do you want to see added?
Is it possible to setup a schedule build using this plugin in pipeline file ?
or with any workaround or with the help of other plugin ?
Upstream changes
https://issues.jenkins.io/browse/JENKINS-42643?focusedCommentId=293221#comment-293221
Hi @wushuzh,
I don't really understand the question. It is possible without this plugin. it is written in the link you posted. https://www.jenkins.io/doc/book/pipeline/syntax/#cron-syntax
pipeline {
triggers {
cron( env.BRANCH_NAME.equals('master') ? '0 2 * * *' : '')
}
if that answers your question. Thank you for closing the ticket