I am trying to create a simple jenkins plug-in that will run a job but Project.doBuild()
requires StaplerRequest
and StaplerResponse
.
What is the Stapler (org.kohsuke.stapler.Stapler)
, StaplerRequest(org.kohsuke.stapler.StaplerRequest)
, and StaplerResponse(org.kohsuke.stapler.StaplerResponse)
? What do they do and how do they work?
Thanks for any help.
Check out http://stapler.kohsuke.org
Stapler is a library that "staples" your application objects to URLs, making it easier to write web applications. The core idea of Stapler is to automatically assign URLs for your objects, creating an intuitive URL hierarchy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With