-
Notifications
You must be signed in to change notification settings - Fork 89
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
Parameters are not set for jobs restarted after VMs are preempted #310
Comments
+1 Here is the situation :
Conclusion: If you jobs are parameterized, then the preemptible VMs feature is just unusable.. |
Currently the plugin automatically reschedules the build (probably only applies to freestyle, and may not be working for pipelines) if the agent is The other cloud plugins such as kubernetes plugin or ec2 plugin do not do such automatic build rescheduling. Each build pipeline need to handle the agent getting removed in the middle of the build using the An example
The plugin shouldn't treat the preemptible VM as a separate case, but rather treat it as similar to any agent outages. |
In addition to that the code doesn't always work as well, it depends of some network errors and timing as well. Lines 98 to 105 in 8aeebbd
Perhaps it is better to just remove the Preemptible VM handling differently and rather simply failing the build and let the pipeline author decided on |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
linux
Reproduction steps
Expected Results
The parameters used by the 1st run are passed to the 2nd run
Actual Results
Parameters are missing
Anything else?
This was mentioned as one of the missing features of the restarts v1 PR: #33
Sort of related: #67, #214
The text was updated successfully, but these errors were encountered: