@Extension
public class GitStatus
extends hudson.model.AbstractModelObject
implements hudson.model.UnprotectedRootAction
| Modifier and Type | Class and Description |
|---|---|
static class |
GitStatus.CommitHookCause |
static class |
GitStatus.JenkinsAbstractProjectListener
Handle standard
SCMTriggerItem instances with a standard SCMTrigger. |
static class |
GitStatus.Listener
Other plugins may be interested in listening for these updates.
|
static class |
GitStatus.MessageResponseContributor
A response contributor that just adds a simple message to the body.
|
static class |
GitStatus.ResponseContributor
Contributes to a
#doNotifyCommit(String, String, String) response. |
| Constructor and Description |
|---|
GitStatus() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doNotifyCommit(javax.servlet.http.HttpServletRequest request,
String url,
String branches,
String sha1) |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getSearchUrl() |
String |
getUrlName() |
static boolean |
looselyMatches(org.eclipse.jgit.transport.URIish lhs,
org.eclipse.jgit.transport.URIish rhs)
Used to test if what we have in the job configuration matches what was submitted to the notification endpoint.
|
public String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getSearchUrl()
getSearchUrl in interface hudson.search.SearchItempublic String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic org.kohsuke.stapler.HttpResponse doNotifyCommit(javax.servlet.http.HttpServletRequest request,
@QueryParameter(required=true)
String url,
@QueryParameter(required=false)
String branches,
@QueryParameter(required=false)
String sha1)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletExceptionIOExceptionpublic static boolean looselyMatches(org.eclipse.jgit.transport.URIish lhs,
org.eclipse.jgit.transport.URIish rhs)
Copyright © 2004-2015. All Rights Reserved.