com.dabsquared.gitlabjenkins
Class GitLabPushTrigger

java.lang.Object
  extended by hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>
      extended by com.dabsquared.gitlabjenkins.GitLabPushTrigger
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.triggers.Trigger<?>>

public class GitLabPushTrigger
extends hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>

Triggers a build when we receive a GitLab WebHook.

Author:
Daniel Brooks

Nested Class Summary
static class GitLabPushTrigger.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.triggers.Trigger
hudson.triggers.Trigger.Cron
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.triggers.Trigger
job, spec, tabs, timer
 
Constructor Summary
GitLabPushTrigger()
           
 
Method Summary
 GitLabPushTrigger.DescriptorImpl getDescriptor()
           
 File getLogFile()
           
 void onPost(GitLabMergeRequest req)
           
 void onPost(GitLabPushRequest req)
           
 
Methods inherited from class hudson.triggers.Trigger
all, checkTriggers, for_, getProjectAction, getProjectActions, getSpec, readResolve, run, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GitLabPushTrigger

@DataBoundConstructor
public GitLabPushTrigger()
Method Detail

onPost

public void onPost(GitLabPushRequest req)

onPost

public void onPost(GitLabMergeRequest req)

getDescriptor

public GitLabPushTrigger.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.triggers.Trigger<?>>
Overrides:
getDescriptor in class hudson.triggers.Trigger<hudson.model.AbstractProject<?,?>>

getLogFile

public File getLogFile()


Copyright © 2004-2014. All Rights Reserved.