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

Skip download folder #232

Open
jglick opened this issue Jan 24, 2025 · 0 comments
Open

Skip download folder #232

jglick opened this issue Jan 24, 2025 · 0 comments

Comments

@jglick
Copy link
Member

jglick commented Jan 24, 2025

What feature do you want to see added?

I do not see any particular reason for

private FilePath getDownloadFolder(String name, Run<?, ?> run) throws IOException {
FilePath dir;
if (run.getParent() instanceof TopLevelItem) {
FilePath baseWorkspace = getJenkins().getWorkspaceFor((TopLevelItem) run.getParent());
if (baseWorkspace == null) {
throw new IOException(getJenkins().getDisplayName() + " may be offline");
}
dir = baseWorkspace.withSuffix(getFilePathSuffix() + "libs").child(name);
} else {
throw new AbortException("Cannot check out in non-top-level build");
}
return dir;
}
and the Lease. You should be able to extract a ZIP file directly from an HTTP input stream to the build directory without needing any temporary files or locks.

Upstream changes

No response

Are you interested in contributing this feature?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant