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

Is it possible to schedule a build ? #287

Open
wushuzh opened this issue Mar 11, 2023 · 1 comment
Open

Is it possible to schedule a build ? #287

wushuzh opened this issue Mar 11, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@wushuzh
Copy link

wushuzh commented Mar 11, 2023

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

@wushuzh wushuzh added the enhancement New feature or request label Mar 11, 2023
@Turiok
Copy link
Contributor

Turiok commented Mar 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants