IBM Application Runtimes Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
Hi Thomas, if I'm not mistaken, for each of the steps UCD starts a new shell, so the login you executed in one step is not valid in the next step.I think it is possible to include the OCP authentication info in a config file of the agent host, so that you do not need to login.Another solution would be to merge the login and build in a unique step.You can generate the login command from the web console: "If you are logged in to the web console, you can generate an oc login command that includes your token and server information. You can use the command to log in to the OpenShift Container Platform CLI without the interactive prompts. To generate the command, select Copy login command from the username drop-down menu at the top right of the web console."