At the end of exciting year with lots of additions to our Continuous Integration Best Practices Guide, we were very proud to show off our latest addition to our CI/CD offering at TechEd in Barcelona:
Jenkins Pipelines for SAPUI5 and Fiori Development on SAP Cloud Platform
This will make it much easier to set up your Continuous Delivery or Continuous Integration pipelines in your Jenkins 2 environment. Our goal is to speed up your delivery significantly, and lay the foundation for foundation of “Pipeline-as-Code”; treating the continuous delivery pipeline as part of the application to be versioned and reviewed like any other code. 
Our offering consists of two parts:
- A shared library containing steps and utilities that are required by our Jenkins pipeline
- A Jenkins pipeline using the shared library to implement CD processes for SAPUI5 and SAP Fiori applications on SAP Cloud Platform
You can run the pipeline out of the box, take them as a starting point for project-specific adaptations or implement your own pipeline from scratch using the shared library.
To run this pipeline you will need:
- Java Runtime Environment 8
- Installation of Jenkins v 2.60.3 or higher running on Linux.
- Jenkins Plugins installed as described here
Download and Installation of the Shared Library
To setup the shared library, you need to perform the following steps:
- Login to your Jenkins instance with administration privileges.
- Open the system configuration page (Manage Jenkins > Configure System).
- Scroll down to section Global Pipeline Libraries and add a new Library by clicking the Add button.
- set Library Name to
- set Default Version to the branch or tag you want to consume (e.g.
- set Retrieval Method to
- set Source Code Management to
- set Project Repository to
- set Library Name to
- Save changes
Now the library is available as
piper-library-os and can be used in any
Jenkinsfile by adding this line:
Jenkins will download the library during execution of the
Setting up Your Pipeline
There are several ways to consume the
Jenkinsfilethat contains the flow of your pipeline. In this blog, we’ll only cover the simple case which requires you to store the Jenkinsfile in your project’s source code. Additionally, you need to create a new pipeline job in Jenkins that retrieves a pipeline from an SCM.
Configuration of the Pipeline
Jenkinsfile requires project specific configuration files in the application sources. Templates for these configuration files are available in the same folders as the respective
Jenkinsfile. Links to the respective documentations can be found in the pipeline overview section.