s2i-dotnetcore icon indicating copy to clipboard operation
s2i-dotnetcore copied to clipboard

S2i build command pass user name password in Azure Devops pipeline

Open codeground123 opened this issue 3 years ago • 0 comments

we are using S2i Build command in our Azure Devops pipeline and using the below command task.

./s2i build http://azuredevopsrepos:8080/tfs/IT/_git/shoppingcart --ref=S2i registry.access.redhat.com/ubi8/dotnet-31 --copy shopping-service

the above command asks for user name and password when the task is executed, How could we provide the username and password of the git repository from the command we are trying to execute ?

Regard

codeground123 avatar Sep 06 '22 15:09 codeground123