public class OptionProvider extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OptionProvider.Option
Javabean representation of an option
|
Constructor and Description |
---|
OptionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
doArtifact(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Provider for artifacts of a specific build, with the name and absolute url of the artifact.
Mandatory parameter : "project" Optional parameters : "build" (either a build number, or "lastStable", "lastSuccessful", "last"), "artifactRegex" (java regex used to filter artifacts). |
void |
doBuild(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Provider for builds of a specific artifact, with the version/date of the build and absolute url of the artifact.
Mandatory parameters : "project" and either "artifact" (exact filename of the artifact) or "artifactRegex" (java regex used to match against the filename of the artifact). Optional parameters : "limit" (int), "includeLastStableBuild" (boolean), "includeLastSuccessfulBuild" (boolean), "includeLastBuild" (boolean) |
public void doArtifact(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
IOException
public void doBuild(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException
IOException
Copyright © 2016–2022. All rights reserved.