Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

We recommend using the SSH protocol for authentication between MettleCI Workbench and your remote Git repositories as it is easier to manage access in a uniform manor across multiple remote Git repository hosts (Github, Bitbucket, Gitlab, etc). SSH keys also tend to be more secure than username/password credentials.

In the event that you need to use Git HTTPS rather than SSH, you can configure MettleCI Workbench to use a single set of username/password credentials for all Git HTTPS requests by modifying the config.yml as shown below:

...
gitAuthentication:
  sshKey: "/opt/dm/mci/workbench.key"
  httpsUsername: <Workbench Git Username>
  httpsPassword: <Workbench Git Password>
...

MettleCI Workbench will need to be restarted after saving changes to config.yml. You can then enter Git HTTPS repository URLS in the project registration page. Any username shown in the URL will be ignored and overridden by the settings included in config.yml:

  • No labels