SAP / jenkins-library

Jenkins shared library for Continuous Delivery pipelines.
https://www.project-piper.io
Apache License 2.0
780 stars 593 forks source link

how to use cloudFoundryDeploy for deploying war file #5159

Open lindeengineering opened 1 month ago

lindeengineering commented 1 month ago

Hi,

we are currently migration from NEO to CF and would like to understand how we can deploy JAVA apps towards cloud foundry?

What kind of parameters we need to provide for cloudFoundryDeploy?

Our current NEO script is:

        def yaml = readYaml file: "mta.yaml";
        def pom = readMavenPom file: "pom.xml"

        neoDeploy script: parameters.script,
                  deployMode: 'warParams',
                  source: warFilePath(),
                  neo: [ application: applicationIDfromMTA() ]