Organization scan
Org-Scan (Discover & Scan Organization repositories)
It’s important to ensure that the JAVA_HOME environment variable points to the directory where Java is installed, which may or may not be done automatically depending on your platform. Additionally, you need to make sure that the $JAVA_HOME/bin directory is included in your system’s PATH so that you can access the Java executable from anywhere on your system. Please see Xygeni CLI Prerequisites for further info.
When invoked, xygeni org-scan
command discovers and analyzes all the Organization's repositories.
As part of the process, the checkout of each repository is done into a temporary directory. Then, it’s deleted at the end of the scan process.
This command is very useful to quickly generate the inventory of an organization, and especially for performing smooth onboardings.
To discover the repos into a SCM organization, you must indicate the name of the organization as well as the hostname of the SCM system
You can even filter the repos to be scanned thru inclusion/exclusions
Finally, you can also execute it in dry-run mode ( --dry-run
)
As an example, you might use --dry-run
option to show the discovered repositories.
And then, after reviewing the results, you might want to filter the projects and run the scans:
Last updated