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

Override isInQueue & getQueueItem from WorkflowJob #391

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

jglick
Copy link
Member

@jglick jglick commented Oct 11, 2023

Just noticed that these have placeholder implementations (false / null) in Job which are overridden by AbstractProject (because it is a Queue.Task) and WorkflowJob should do the same.

@jglick jglick requested a review from a team as a code owner October 11, 2023 21:06
@jglick jglick added the bug label Oct 11, 2023
@jglick
Copy link
Member Author

jglick commented Oct 24, 2023

Need review from someone with write access: @olamy @rsandell @dwnusbaum @car-roll

(or I can just bypass that check or turn it off, I guess)

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, what is the expected impact of this change?

@jglick
Copy link
Member Author

jglick commented Oct 24, 2023

Good question. I searched for usages of these Job methods in core (excluding calls from inside AbstractProject itself) including Jelly and AFAICT it only affects the REST API (@Exported).

@jglick jglick merged commit c6700e3 into jenkinsci:master Oct 24, 2023
14 checks passed
@jglick jglick deleted the isInQueue branch October 24, 2023 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants