Bitbucket Server - Examples
The list of options and some examples for Bitbucket Server
--version Show version number [boolean]
--help Show help [boolean]
--token Bitbucket server token [required]
--url Bitbucket server base url e.g. (https://bitbucket.mycompany.com) [required]
--projectKeys [Optional] Bitbucket server project key to count contributors for
--repo [Optional] Specific repo to count only for
--exclusionFilePath [Optional] Exclusion list filepath
--json [Optional] JSON output, requiered when using the "consolidateResults" command
--skipSnykMonitoredRepos [Optional] Skip Snyk monitored repos and count contributors for all repos
--importConfDir [Optional] Generate an import file with the unmonitored repos: A path to a valid folder for the generated import files
--importFileRepoType [Optional] To be used with the importConfDir flag: Specify the type of repos to be added to the import file. Options: all/private/public. Default: allBefore running the command
export SNYK_TOKEN=<YOUR-SNYK-TOKEN>
Running the command
Usage levels
Options
Last updated
Was this helpful?

