Validating an External Connection
Validate the external connection you created to check if the personal access token (PAT) is active or not. If the validation fails, then it implies that the PAT is deleted or has expired. However, even if the validation succeeds, the build might fail for reasons such as, the PAT is not authorized to access the selected repository.
Validation is not applicable for connection to GitLab server and Bitbucket server.
For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.
To validate an external connection, run the
validate
command:oci devops connection validate --connection-id
To get all the commands for
connection
:oci devops connection -h
To validate an external connection, use the
ValidateConnection
operation.