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

[JENKINS-50504] WorkspaceList.inUse should be keyed by String not FilePath so leases survive agent reconnections #3955

Merged
merged 4 commits into from Apr 10, 2019

Conversation

jglick
Copy link
Member

@jglick jglick commented Apr 1, 2019

See JENKINS-50504. Complements jenkinsci/workflow-durable-task-step-plugin#101.

Proposed changelog entries

  • Do not offer a workspace lease to a new build if it is already in use by a (Pipeline) build running across an agent reconnection.

@jglick jglick closed this Apr 1, 2019
@jglick jglick reopened this Apr 1, 2019
@jglick jglick marked this pull request as ready for review April 1, 2019 19:41
@jglick jglick closed this Apr 1, 2019
@jglick jglick reopened this Apr 1, 2019
@jglick
Copy link
Member Author

jglick commented Apr 1, 2019

Judging by events I think this is not building due to JENKINS-54126.

@jvz
Copy link
Member

jvz commented Apr 1, 2019

Looks logical, though I'm not familiar enough in this area to give a proper review.

@jglick jglick closed this Apr 2, 2019
@jglick jglick reopened this Apr 2, 2019
@jglick jglick requested review from dwnusbaum and basil April 8, 2019 17:04
@jglick
Copy link
Member Author

jglick commented Apr 8, 2019

Would like to wait for the current build to pass, so it can be picked up in the downstream PR and we can make sure that passes.

@daniel-beck daniel-beck added the on-hold This pull request depends on another event/release, and it cannot be merged right now label Apr 8, 2019
@jglick jglick added ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback and removed on-hold This pull request depends on another event/release, and it cannot be merged right now ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback labels Apr 9, 2019
@batmat
Copy link
Member

batmat commented Apr 9, 2019

Given approvals, I think we can merge it later today or so, if nobody objects in the meantime.

@jglick jglick added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Apr 9, 2019
@daniel-beck
Copy link
Member

@jglick Could you clarify whether we're waiting for an updated downstream PR?

@jglick
Copy link
Member Author

jglick commented Apr 9, 2019

@daniel-beck not any longer, it went green with a deployment from this PR.

@batmat batmat merged commit 9f9455b into jenkinsci:master Apr 10, 2019
@jglick jglick deleted the WorkspaceList.inUse-JENKINS-50504 branch April 10, 2019 22:09
jglick added a commit to jglick/workflow-durable-task-step-plugin that referenced this pull request Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback
Projects
None yet
6 participants