-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add WebDAV MKCOL method #150
Conversation
We have tested this patch internally and are happy with the results :) ready to merge |
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.
Looks good to me.
As it's some kind of a new feature, shouldn't we add a test so this portion of code gets tested?
Thanks.
@cobexer would you be willing to provide an example in the README file based on your use? It isn't immediately obvious to me how I would use this and how it would help me. |
The existing tests actually execise all the added code and verify at least basic functionality (new code has 100% coverage) I'll add a short example to the readme :) |
MKCOL and PUT allow for write only WebDAV use to upload artifacts during the build
d7b5f22
to
f74a2cf
Compare
@MarkEWaite basic example is attached 🚀 |
Will we also get a release of the changes? It looks like this repo doesn't automatically publish master builds yet? |
Yes, this plugin will be released with this change and the other pending changes. One of the pending changes is to require Jenkins 2.361.4 or newer. Over 80% of installations of the 1.16 release are already running 2.361.1 or newer, so there is not much risk that users will ignore the new release because they are running too old a version of Jenkins. |
The http-request plugin needs a new release to deliver the features and bug fixes that have accumulated since its last release in Aug 2022. Some of those new features and bug fixes include: * Require Jenkins 2.361.4 as minimum Jenkins version (jenkinsci/http-request-plugin#128) * JENKINS-69081 - Track credential usage (jenkinsci/http-request-plugin#113) * JENKINS-69155 - Snapshot authentication credentials (jenkinsci/http-request-plugin#111) * Upgrade HtmlUnit from 2.x to 3.x (jenkinsci/http-request-plugin#148) Documentation improvements include: * Improve feature descriptions in documentation (jenkinsci/http-request-plugin#141) * Add URL details as part of the exception (jenkinsci/http-request-plugin#74) * Add a response header example to documentation (jenkinsci/http-request-plugin#133) * rewording of abstract section (jenkinsci/http-request-plugin#130) * Drop redundant part of example (jenkinsci/http-request-plugin#122) Maintenance improvements include: * Remove divBasedFormLayout from jelly files (jenkinsci/http-request-plugin#149) jenkinsci/http-request-plugin#150 is the pull request that prompted this adoption request Reverts part of pull request: * jenkins-infra#2950
MKCOL and PUT allow for write only WebDAV use to upload artifacts during the build
Add the WebDAV MKCOL method to the allowed list of methods. With it this plugin allows write only use of a WebDav server to upload artifacts (using
MKCOL
andPUT
).Testing done
The existing unittests verify the basic functionality.
Submitter checklist