I am trying to sync Azure APIM repositories into AzureDevops repo using yaml pipeline. Initial step is to clone on to the agent and then copy it to devops repo but cloning option is failing with below error.
Error
Cloning into 'XXXXX'...
fatal: unable to access 'XXXXXX': Could not resolve host: XXXXXX
We might need to send credentials to git clone in a non-interactive way so that pipeline agent can access the APIM repository.
Hi,
I am trying to sync Azure APIM repositories into AzureDevops repo using yaml pipeline. Initial step is to clone on to the agent and then copy it to devops repo but cloning option is failing with below error.
Error Cloning into 'XXXXX'... fatal: unable to access 'XXXXXX': Could not resolve host: XXXXXX
We might need to send credentials to git clone in a non-interactive way so that pipeline agent can access the APIM repository.
Kindly suggest!
Thanks Krupa G