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-48543] Remove agent-to-controller calls #267

Merged
merged 2 commits into from Jun 15, 2022
Merged

Conversation

jglick
Copy link
Member

@jglick jglick commented Nov 5, 2021

JENKINS-48543

Following up 7d1525e to reduce risk and complexity, and provide compatibility with possible future hardenings such as jenkinsci/jenkins#5885. Not tested beyond what automated test coverage exists here.

@jglick jglick changed the title Remove agent-to-controller calls [JENKINS-48543] Remove agent-to-controller calls Nov 10, 2021
@@ -2692,8 +2692,7 @@ public static void init() {}
System.setProperty("svnkit.http.methods","Digest,Basic,NTLM,Negotiate");

// use SVN1.4 compatible workspace by default.
SVNAdminAreaFactory.setSelector(new SubversionWorkspaceSelector());
}
SVNAdminAreaFactory.setSelector(new SubversionWorkspaceSelector(workspaceFormat));
Copy link
Member Author

Choose a reason for hiding this comment

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

This part is tricky. SVNKit apparently has static state, which is a bad idea generally (forces us to do some work on both the Jenkins controller & agent JVMs) and is especially weird since there is a user-configurable format which we have to somehow pass into static state. Hope test coverage is good enough here.

@jglick
Copy link
Member Author

jglick commented Jun 10, 2022

@didiez can you review this please? I can spend the time to fix up merge conflicts if someone is going to acknowledge that this exists.

Copy link
Contributor

@didiez didiez left a comment

Choose a reason for hiding this comment

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

Nice PR @jglick. Looks good to me 👍
Sorry for the delay but I had too much on my plate.

@didiez didiez merged commit 6211427 into jenkinsci:master Jun 15, 2022
@jglick jglick deleted the s2m branch June 15, 2022 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants