-
Notifications
You must be signed in to change notification settings - Fork 592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional login parameter for Cloud Foundry #5174
Comments
Hi Ramya, Are you using technical user to do the deployment? Are you also passing the credentialId ? Thanks and Regards, |
Yes I'm using Technical id & passing credentialId. Can you please refer the snippet I had attached. Thanks, |
Also, one additional input from my end: We've provided space developer access to the corresponding space and established platform trust with IAS |
Hi Ramya, If you would like to use the custom IDP to login to cloud foundry, you could configure the credentials of type "Basic Authentication for Custom IDP" as described here. I hope that should help you. Thanks, |
Hi Srinikitha,
As per your comment I think the solution points to SAP's Continuous Integration System. But, we're using Jenkins for CI/CD along with Piper Library for CloudFoundry deploy by referring to the solution in this link https://www.project-piper.io/steps/cloudFoundryDeploy/#cfcredentialsid. So, can you please support how this issue can be resolved for the same? Thanks in advance. |
Hi Ramya, |
Hi SriNikitha, Yes you're right that's how I had passed in config.yml file |
Hi @srinikitha09 : Any updates on how this can be solved? |
Hi Ramya, Thanks, |
Hi @srinikitha09 : The issue got resolved now, after making below changes. Changes made:
|
Hi, Thanks, |
I'm trying to create a job on Continuous Integration and Delivery system to deploy application to the BTP. On my local, I'm using the platform user on IAS to access Cloud Foundry space by adding "--origin " parameter to the "cf login" command and it works as expected. I want to provide the same parameter on my CI/CD job.
Below is the same config.yml file
steps:
cloudFoundryDeploy:
cloudFoundry:
collectTelemetryData: false
credentialsId:
loginparameters: --origin ***
apiEndpoint: 'https://api.cf.eu10-004.hana.ondemand.com'
org:
space:
mtaPath: '*.mtar'
But this doesn't seem to work. I get an error in Jenkins as mentioned in attachment. Any idea how I can set this parameter?
The text was updated successfully, but these errors were encountered: