| The git step is an intentionally simplified short form of the more general purpose checkout step. It does not include most of the options available from the checkout step, including the repository browser support options. The git step documentation says:
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']]])
The Pipeline Syntax page in your Jenkins installation will allow you to use the Jenkins UI to define the checkout step. Once defined using the helper in the Pipeline Syntax page, you can paste that text into the job definition. |