cloudbees-io/Configure Git Global Credentials
Configures credentials in the Git global configuration
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repositories | Repository clone URL. separated by commas or spaces or newlines For example, "https://github.com/user/repo" or "https://github.com/user/repo1, https://github.com/user/repo2" or "https://github.com/user/repo1 https://github.com/user/repo2" when using with ssh-key input, provide SSH clone URLs "ssh://github.com/user/repo" | no | — |
| cloudbees-api-token | The CloudBees API Token to use for fetching SCM tokens unless `token` or `ssh-key` have been configured | — | ${{ cloudbees.api.token }} |
| cloudbees-api-url | The CloudBees API root URL to use for fetching SCM tokens | — | ${{ cloudbees.api.url }} |
| ssh-key | SSH key used to fetch repositories. The SSH key is configured with the global git config, which enables your scripts to run authenticated git commands. NOTE: the SSH key will only be used by Git clients that understand how to use the `core.sshCommand` configuration key. If you are using a custom Git client that cannot process a custom `core.sshCommand` then the SSH key configuration will be ignored by that client. The standard Git CLI will process the `core.sshCommand` configuration. NOTE: the SSH key will be configured for all SSH remotes. This option is not compatible with specifying `repositories` as the SSH key has to be installed for all SSH repositories. We recommend using a service account with the least permissions necessary. | — | — |
| ssh-known-hosts | Known hosts in addition to the user and global host key database. The public SSH keys for a host may be obtained using the utility `ssh-keyscan`. For example, `ssh-keyscan github.com`. The public keys for github.com, bitbucket.org and gitlab.com are always implicitly added. | — | — |
| ssh-strict | Whether to perform strict host key checking. When true, adds the options `StrictHostKeyChecking=yes` and `CheckHostIP=no` to the SSH command line. Use the input `ssh-known-hosts` to configure additional hosts. | — | true |
Outputs
no outputs