GitRepo YAML Schema

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo
resources:
  - name:               <string>
    type:               GitRepo
    configuration:
      gitProvider:      <git integration name>
      path:             <string>
      files:
        include:        <regular expression>
        exclude:        <regular expression>
      branches:
        include:        <regular expression>
        exclude:        <regular expression>
      recurseSubmodules:    <Boolean>  
      pullRequestSourceBranches:
        include: <regular expression>
        exclude: <regular expression>
      pullRequestTargetBranches:
        include: <regular expression>
        exclude: <regular expression>
      tags:
        include:        <regular expression>
        exclude:        <regular expression>
      buildOn:
         branchCreate:      <Boolean>
         branchDelete:      <Boolean>
         commit:            <Boolean>
         pullRequestCreate: <Boolean>
         pullRequestClose:      <Boolean>
         releaseCreate:         <Boolean>
         tagCreate:                     <Boolean>
      cancelPendingRunsOn:
         newCommit:         <Boolean>
         pullRequestUpdate: <Boolean>
      shallowDepth:     <Positive Integer>        # used to set the depth at which the repo is (shallow)cloned/fetched
      cloneProtocol:    <ssh|https>               # Optional. Defaults to ssh
      pin:
        versionId:  <number>
        sha:        <string>