Groovy Documentation

javaposse.jobdsl.dsl.helpers
[Groovy] Class ScmContextHelper

java.lang.Object
  javaposse.jobdsl.dsl.helpers.AbstractHelper
      javaposse.jobdsl.dsl.helpers.AbstractContextHelper
          javaposse.jobdsl.dsl.helpers.ScmContextHelper

class ScmContextHelper
extends AbstractContextHelper

scm { git(String url, Closure configure) // || perforce(Closure configure) // || subverison(Closure configure) || } git { String url String branch // TODO Pull all fields from GitSCM } subversion { String url // Strategy // TODO Pull all fields from SubversionSCM }


Constructor Summary
ScmContextHelper(java.util.List withXmlActions, JobType jobType)

 
Method Summary
groovy.lang.Closure generateWithXmlClosure(ScmContext context)

java.lang.Object scm(groovy.lang.Closure closure)

Public method available directly on job {}

 
Methods inherited from class AbstractContextHelper
execute, executeInContext, generateWithXmlAction, generateWithXmlClosure
 
Methods inherited from class AbstractHelper
execute
 

Constructor Detail

ScmContextHelper

ScmContextHelper(java.util.List withXmlActions, JobType jobType)


 
Method Detail

generateWithXmlClosure

groovy.lang.Closure generateWithXmlClosure(ScmContext context)


scm

java.lang.Object scm(groovy.lang.Closure closure)
Public method available directly on job {}
Parameters:
closure
Returns:


 

Groovy Documentation