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

Cron-configuration in Jenkinsfile ignored when obtained via Remote Jenkinsfile Provider plugin? #153

Open
demo-cicd opened this issue Jan 11, 2024 · 0 comments

Comments

@demo-cicd
Copy link

Describe the bug
Build is not triggered at expected time, even though Jenkins shows the time-based trigger in the GUI correctly: H H(16-18) * * 0-5
We suspect that this is ignored since the Jenkinsfile needs to be obtained from Git by the plugin first before it can be interpreted.
Push-based triggering works fine though.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Jenkinsfile with a 'triggers'-section containing a 'cron'-statement
  2. Upload Jenkinsfile to a Git-repo
  3. Configure a build to use the Remote Jenkinsfile Provider plugin to obtain the Jenkinsfile from the Git-repo
  4. Wait until build is triggered at expected time - which won't happen

Expected behavior
Build triggers at times specified in Jenkinsfile.

Versions:

  • Jenkins version 2.246.1
  • Plugin version: 1.24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant