Setup Frogbot Using GitLab CI
Install Frogbot on GitLab repositories using GitLab CI
Prepare GitLab to work with Frogbot
Make sure you have the connection details of your JFrog environment.
Go to your GitLab repository settings page and save the JFrog connection details as repository secrets with the following names - JF_URL, JF_USER, and JF_PASSWORD.
NOTE:
You can use JF_XRAY_URL and JF_ARTIFACTORY_URL instead of JF_URL.
You can use JF_ACCESS_TOKEN instead of JF_USER and JF_PASSWORD.
Ensure not set these tokens as protected in Gitlab.
Add a job named frogbot-scan to your
.gitlab-ci.yml
file in your GitLab repository. Use the following for execution:
In the gitlab-ci.yml
file, Make sure that either JF_USER and JF_PASSWORD or JF_ACCESS_TOKEN are set, but not both.
For more advanced configuration, use GitLab full template to see all available options.
Last updated