on 08-03-2022 9:40 AM
context: Learning Journey Developing with SAP Extension Suite
Enabling SAP Continuous Integration and Delivery
on my risk-management-job, the Release step failed with error:
hudson.AbortException: [cloudFoundryDeploy] Step execution failed (category: undefined). Error: Failed to login to Cloud Foundry: Parameters missing. Please provide the Cloud Foundry Endpoint, Org, Space, Username and Password
my pipeline configuration
###
# This file configures the project "Piper" pipeline of your project.
# For a reference of the configuration concept and available options, please have a look into its documentation.
#
# The documentation for the most recent pipeline version can always be found at:
# https://sap.github.io/jenkins-library/
#
# This is a YAML-file. YAML is an indentation-sensitive file format. Please make sure to properly indent changes to it.
###
### General project setup
---
general:
pipeline: "sap-cloud-sdk"
buildTool: "mta"
verbose: true
stages:
Build:
mavenExecuteStaticCodeChecks: false
npmExecuteLint: false
Additional Unit Tests:
npmExecuteScripts: false
karmaExecuteTests: false
Release:
cloudFoundryDeploy: true
tmsUpload: false
steps:
cloudFoundryDeploy:
cloudFoundry:
apiEndpoint: "https://api.cf.us10.hana.ondemand.com"
org: "a244dab4trial"
space: "dev"
credentialsId: "cfdeploy"
appName: ""
mtaDeployParameters: "-f --version-rule ALL"
artifactPrepareVersion:
versioningType: "cloud_noTag"
[2022-08-03T08:17:04.041Z] The following parameters were available to the step:
[2022-08-03T08:17:04.054Z] ***
[2022-08-03T08:17:04.066Z] *** to show step parameters, set verbose:true in general pipeline configuration
[2022-08-03T08:17:04.773Z] *** WARNING: this may reveal sensitive information. ***
[2022-08-03T08:17:04.785Z] ***
what could be the cause of the error?
what can I check?
thank you
Hi Jeff,
thanks for reaching out to us.
Could you please share your project via git?
BR,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have started the journey all over from scratch. Now I am able to deploy the app on CF with no error, but when I try to test I get a "redirect" error:
Is this correct in the .yaml file:
I also tried it with the blue line in the box above commented out and the last line uncommented. That gave a "redirect" error also.
Any ideas?
Thanks,
Jeff
User | Count |
---|---|
9 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.