From 287eab8faea3c40e82fe2efc8eabcacd1171461c Mon Sep 17 00:00:00 2001 From: SarahNoack <44202907+SarahNoack@users.noreply.github.com> Date: Thu, 7 Feb 2019 16:16:10 +0100 Subject: [PATCH] Rework scenario --- documentation/docs/scenarios/CAP_Scenario.md | 28 +++++++++++--------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/documentation/docs/scenarios/CAP_Scenario.md b/documentation/docs/scenarios/CAP_Scenario.md index 250f9063f..a4e30a94e 100644 --- a/documentation/docs/scenarios/CAP_Scenario.md +++ b/documentation/docs/scenarios/CAP_Scenario.md @@ -1,11 +1,11 @@ -# Build and Deploy Applications Following the SAP Cloud Platform Application Programming Model +# Build and Deploy Applications with Jenkins and the SAP Cloud Platform Application Programming Model -Set up a basic continuous delivery process for applications that follow the SAP Cloud Platform Application Programming Model. +Set up a basic continuous delivery process for developing applications according to the SAP Cloud Platform Application Programming Model. ## Prerequisites * You have an account in the Cloud Foundry environment. See [Accounts](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/8ed4a705efa0431b910056c0acdbf377.html). -* You have downloaded and installed the Cloud Foundry command line interface (CLI). See ([Download and Install the Cloud Foundry Command Line Interface](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/afc3f643ec6942a283daad6cdf1b4936.html). +* You have downloaded and installed the Cloud Foundry command line interface (CLI). See [Download and Install the Cloud Foundry Command Line Interface](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/afc3f643ec6942a283daad6cdf1b4936.html). * You have installed the multi-target application plug-in for the Cloud Foundry command line interface. See [Install the Multi-Target Application Plug-in in the Cloud Foundry Environment](https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/27f3af39c2584d4ea8c15ba8c282fd75.html). * You have installed the Java Runtime Environment 8. * You have installed Jenkins 2.60.3 or higher. @@ -15,9 +15,9 @@ Set up a basic continuous delivery process for applications that follow the SAP ## Context -The Application Programming Model for SAP Cloud Platform is a best practice guide for developing applications on SAP Cloud Platform and provides a set of enterprise-grade tools, languages, and libraries. +The Application Programming Model for SAP Cloud Platform is a best practice guide for developing applications on SAP Cloud Platform and provides a supportive set of enterprise-grade tools, languages, and libraries. For more information about the SAP Cloud Platform Application Programming Model, see [Cloud Application Programming Model](https://help.sap.com/viewer/DRAFT/6e4c629e38154da99f972fd769252768/Development/en-US). -In this scenario, we want to show how to implement a basic continuous delivery process for applications that follow this model with the help of project "Piper" on Jenkins. +In this scenario, we want to show how to implement a basic continuous delivery process for developing applications according to this model with the help of project "Piper" on Jenkins. ## Example @@ -29,14 +29,16 @@ In this scenario, we want to show how to implement a basic continuous delivery p node(){ stage('Prepare') { deleteDir() - checkout scm - setupCommonPipelineEnvironment script:this - } stage('Build') { - mtaBuild script:this, - buildTarget:'CF' - } stage('Deploy') { - cloudFoundryDeploy script:this, - deployTool:'mtaDeployPlugin' + checkout scm + setupCommonPipelineEnvironment script:this + } + + stage('Build') { + mtaBuild script:this, buildTarget:'CF' + } + + stage('Deploy') { + cloudFoundryDeploy script:this, deployTool:'mtaDeployPlugin' } } ```