@Extension
public static class GitLabPushTrigger.DescriptorImpl
extends hudson.triggers.TriggerDescriptor
| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.model.AutoCompletionCandidates |
doAutoCompleteExcludeBranchesSpec(hudson.model.Job<?,?> job,
String value) |
hudson.model.AutoCompletionCandidates |
doAutoCompleteIncludeBranchesSpec(hudson.model.Job<?,?> job,
String value) |
hudson.util.FormValidation |
doCheckExcludeBranchesSpec(hudson.model.Job<?,?> project,
String value) |
hudson.util.FormValidation |
doCheckGitlabApiToken(String value) |
hudson.util.FormValidation |
doCheckGitlabHostUrl(String value) |
hudson.util.FormValidation |
doCheckIncludeBranchesSpec(hudson.model.Job<?,?> project,
String value) |
hudson.util.ListBoxModel |
doFillTriggerOpenMergeRequestOnPushItems(String triggerOpenMergeRequestOnPush) |
hudson.util.FormValidation |
doTestConnection(String hostUrl,
String token,
boolean ignoreCertificateErrors) |
static GitLabPushTrigger.DescriptorImpl |
get() |
String |
getDisplayName() |
GitLab |
getGitlab() |
String |
getGitlabApiToken() |
String |
getGitlabHostUrl() |
boolean |
getIgnoreCertificateErrors() |
protected String |
getSourceRepoNameDefault(hudson.model.Job job)
Get the Name of the first declared repository in the project configuration.
|
protected org.eclipse.jgit.transport.URIish |
getSourceRepoURLDefault(hudson.model.Job job)
Get the URL of the first declared repository in the project configuration.
|
boolean |
isApplicable(hudson.model.Item item) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic boolean isApplicable(hudson.model.Item item)
isApplicable in class hudson.triggers.TriggerDescriptorpublic String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.triggers.Trigger<?>>hudson.model.Descriptor.FormExceptionpublic hudson.util.ListBoxModel doFillTriggerOpenMergeRequestOnPushItems(@QueryParameter
String triggerOpenMergeRequestOnPush)
public hudson.model.AutoCompletionCandidates doAutoCompleteIncludeBranchesSpec(@AncestorInPath
hudson.model.Job<?,?> job,
@QueryParameter
String value)
public hudson.model.AutoCompletionCandidates doAutoCompleteExcludeBranchesSpec(@AncestorInPath
hudson.model.Job<?,?> job,
@QueryParameter
String value)
public hudson.util.FormValidation doCheckIncludeBranchesSpec(@AncestorInPath
hudson.model.Job<?,?> project,
@QueryParameter
String value)
public hudson.util.FormValidation doCheckExcludeBranchesSpec(@AncestorInPath
hudson.model.Job<?,?> project,
@QueryParameter
String value)
protected org.eclipse.jgit.transport.URIish getSourceRepoURLDefault(hudson.model.Job job)
IllegalStateException - Project does not use git scm.protected String getSourceRepoNameDefault(hudson.model.Job job)
public hudson.util.FormValidation doCheckGitlabHostUrl(@QueryParameter
String value)
public hudson.util.FormValidation doCheckGitlabApiToken(@QueryParameter
String value)
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="gitlabHostUrl")
String hostUrl,
@QueryParameter(value="gitlabApiToken")
String token,
@QueryParameter(value="ignoreCertificateErrors")
boolean ignoreCertificateErrors)
throws IOException
IOExceptionpublic GitLab getGitlab()
public String getGitlabApiToken()
public String getGitlabHostUrl()
public boolean getIgnoreCertificateErrors()
public static GitLabPushTrigger.DescriptorImpl get()
Copyright © 2004-2015. All Rights Reserved.