添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
沉稳的炒饭  ·  how to git ...·  昨天    · 
卖萌的滑板  ·  GitLab connector ...·  昨天    · 
豪气的大葱  ·  DOE CODE GitLab ...·  昨天    · 
果断的乌冬面  ·  How to clone a GitLab ...·  昨天    · 
完美的抽屉  ·  The Remote Work ...·  昨天    · 
风流倜傥的松球  ·  ProArt Display OLED ...·  1 周前    · 
近视的豆浆  ·  java 数组过滤_java ...·  1 月前    · 
爱看球的围巾  ·  python | Pandas/bokeh ...·  1 月前    · 
Skip to main content

GitLab connector settings reference

Add a connector for your GitLab account or repository.

Before Harness uses this connector to sync with your Git repo, it confirms that the connector settings are valid. If the connection fails, Harness can't sync with your Git repo.

Overview settings

  • Name: The unique name for this connector. Harness generates an Id ( Entity Identifier ) based on the Name . You can edit the Id during initial connector creation. Once you save the connector, the Id is locked.
  • Description: Optional text string.
  • Tags: Optional labels you can use for filtering. For details, go to the Tags reference .
  • Details settings

    The Details settings specify which GitLab account or repository you want this connector to connect to, whether to connect over HTTP or SSH, and the URL to use.

    URL Type

    Select Account to connect an entire GitLab account. This option lets you use one connector to connect to all repositories in the specified GitLab account. Make sure you have at least one repo in the account; you need a repo to test the connection and save the connector.

    Select Repository to connect to a single, specific repo in a GitLab account.

    Connection Type

    Select the protocol, HTTP or SSH , to use for cloning and authentication. The Connection Type determines the URL format required for the GitLab Account/Repository URL field. It also determines the Authentication method you must use in the Credentials settings .

    GitLab Account/Repository URL

    Enter the URL for the GitLab account or repository that you want to connect to. The required value is determined by the URL Type and Connection Type .

    In the GitLab Account URL field, provide only the account-identifying portion of the GitLab URL, such as https://gitlab.com/YOUR_ACCOUNT_NAME/ . Do not include a repo name. The URL format depends on the Connection Type :

    • HTTP: https://gitlab.com/YOUR_ACCOUNT_NAME/ or https//gitlab.com
    • SSH: [email protected]:YOUR_ACCOUNT_NAME/

    Test Repository

    This field is only required if the URL Type is Account . Provide the name of a repo in your GitLab account that Harness can use to test the connector. Harness uses this repo to validate the connection only. When you use this connector in a pipeline, you'll specify a true code repo in your pipeline configuration or at runtime.