Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.1 KB

File metadata and controls

23 lines (13 loc) · 1.1 KB

GitConfig

This module defines the Git-related features and configurations for Jenkins pipelines.
  • use_simple_checkout: Set to true to uses a simple checkout scm. Otherwise fine-tune the checkout with the other properties ( Type: bool Default: True )

  • checkout: The checkout configuration. If use_simple_checkout is true, this will be ignored. ( Type: Optional[features.git.GitCheckoutConfig] Default: None )

    • branch_name: The branch name to checkout ( (Required) Type: str )

    • extensions: The extensions to use for the checkout ( Type: Dict[str, GitExtensionConfig] Default: {} )

    • user_remote_config: The user remote configuration. ( (Required) Type: UserRemoteConfig )

      • credentials_id: The credentials ID and URL for the remote repository. ( (Required) Type: CredentialsIdConfig )
        • id: The jenkins credential id to use to connect to the url. ( (Required) Type: str )

        • url: The git url to use to checkout the repository. ( (Required) Type: str )

Back to main page