User Supplied Variables
These variables are provided by the DevOps engineer who is developing the workflow. They are needed in order to identify the iCR server to be used for analysis and its accompanying configuration parameters. They are:
OR_ICR_URL
Provide the URL to the location of the iCR server to be used for the analysis and review. Using examples from the Private Platform User Guide, theurl
would look like:https://3.237.77.219:3001
where3.237.77.219
is the IP address of the iCR server and3001
is the TCP port that the Navigator uses.OR_ICR_USER_NAME
The Navigator requires the workflow to login into iCR using a specific iCR user name. This field is a string that specifies the User Name.OR_ICR_CI_CD_ACCESS_TOKEN
In concert with the OR_ICR_USER_NAME, that User needs to be authenticated before it can access iCR functionality. So that passwords are not exchanged between theyml
script and iCR, an encrypted token is used. The OR_ICR_CI_CD_ACCESS_TOKEN is created by the User within the iCR Navigator. You can see how that is done in the User Guide section titled The Navigator top banner.OR_LANGUAGE_VERSION
With some languages that are analyzed by iCR, such as Python, the specific version of the language or related libraries needs to be specified in order for iCR to work correctly for the target source. For example, if you are using Python 3.7, then the string3.7
is assigned.OR_SECRET_TOKEN
To authorize the workflow to operate upon the project on behalf of a specific user, that workflow needs to supply a Personal Access Token (PAT) that authorizes access to their repositories.OR_MAIL_ADDRESS
When the analysis triggered by this workflow completes, the User, upon whose behalf this analysis was performed, will receive an email notification letting them know it is complete. That User’s email will be entered here. An email address MUST be provided to allow a way for iCR to notify the User in the event of either success of some kind of failure. If no address is provided the workflow will not proceed.
Last updated