Table of Contents

Git plugin

git: Git

Git step. It performs a clone from the specified repository.

Note that this step is shorthand for the generic SCM step:

checkout([$class: 'GitSCM', branches: [[name: '*/master']],
     userRemoteConfigs: [[url: 'http://git-server/user/repository.git']]])
    

url

Type: String

branch (optional)

Type: String

changelog (optional)

Type: boolean

credentialsId (optional)

Type: String

poll (optional)

Type: boolean