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

buildpipeline generator set trigger even if triggerSchedule_nightly not in the config file #773

Closed
andrew-m-leonard opened this issue Aug 11, 2023 · 0 comments · Fixed by #774
Assignees
Labels
generation Issues that provide enhancements or fixes to the job generators

Comments

@andrew-m-leonard
Copy link
Contributor

jdk-21 pipeline job trigger was randomly getting set to a triggerSchedule_nightly, even though the jdk21.groovy config has no value....?

It seems in Jenkins groovy, a local "def target" variable that is not initialized within an iterative loop, will still have the values from the previous iteration! Hence, the jdk21 iteration was picking up the jdk17u or jdk20u schedule!!

@github-actions github-actions bot added the generation Issues that provide enhancements or fixes to the job generators label Aug 11, 2023
@andrew-m-leonard andrew-m-leonard self-assigned this Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generation Issues that provide enhancements or fixes to the job generators
Projects
No open projects
Status: Done
1 participant