Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Default can be set on Sealights side globally per customer

If not identified automatically you should provide the following based on your SCM:

SCM

URL format

bitbucket.org

https://bitbucket.org/{account}/{repo}/src

Bitbucket On-Prem

https://{dns}/projects/{project}/repos/{repo}/browse

Github On-Prem

https://{dns}/{account}/{repo}/blob

Gitlab On-Prem

https://{dns}/{account}/{optional:subgroup}/{repo}/blo

Should be set for any On-Premise SCM type.
If using a cloud SCM and the repo URL is not sent correctly, this should be set to "cloud"

...

Info

If your on premise SCM version is often updated in order to comply with latest security patches for example, you can also provide a version retrieved dynamically as the sample command lines below

  • GitHub on-prem: githubVersion=`curl -sI https://github.mycompany.com/api/v3 | grep Version | awk '{print $2}' | tr -d '\r'`

  • Bitbucket: bitbucketVersion=`curl -s https://mybitbucket.mycompany.com/rest/api/1.0/application-properties | jq -r .version`

  • GitLab: gitlabVersion=`curl https://mygitlab.mycompany.com/api/v4/version | jq -r .version`

If not identified automatically you should provide the following based on your SCM:

...

SCM

...

URL format

...

bitbucket.org

...

https://bitbucket.org/{account}/{repo}/src

...

Bitbucket On-Prem

...

https://{dns}/projects/{project}/repos/{repo}/browse

...

Github On-Prem

...

https://{dns}/{account}/{repo}/blob

...

Gitlab On-Prem

...