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
[JENKINS-26130] Way to print progress from pickles #6
Conversation
…tem from ExecutorPickle automatically. (Cancelling that queue item, rather than the main build, already worked: QueueTaskFuture.get throws an exception.)
} else { | ||
item = Queue.getInstance().getItem(itemID); | ||
if (item == null) { | ||
throw new IllegalStateException("queue lost item #" + itemID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it's safe if the QueueTask gets completed quickly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Queue.leftItems
keeps things for five minutes, much longer than the recurrence period for this pickle.
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
🐝 |
To paraphrase Eddie Izzard, "I like my pull requests like I like my coffee - covered in 🐝s" |
Downstream of jenkinsci/workflow-api-plugin#5, jenkinsci/workflow-support-plugin#4, jenkinsci/workflow-job-plugin#5, and jenkinsci/workflow-cps-plugin#20.
@reviewbybees