Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 1.66 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.66 KB

cloud-helloworld

Hello World demo project for SAP HANA Cloud Platform https://account.hanatrial.ondemand.com

This hello world sample is based on the hello sample that you find in the SDK. The SDK is provided under the SAP DEVELOPER LICENSE AGREEMENT that you find at https://tools.hana.ondemand.com/developer-license-3.1.txt

Changes compared to original sample:

  • use standard Maven layout
  • don't submit Eclipse files to git

For general information regarding SDK samples see SAP_CLOUD_SDK/samples/readme.txt

Building

Needed environment variables for build:

  • PROXY_HOST, PROXY_PORT, SAP_CLOUD_ACCOUNT, SAP_CLOUD_USERNAME SAP_CLOUD_PASSWORD for running integration test in the cloud

Build the project and run unit tests: mvn clean package

Run integration tests on local runtime: mvn clean verify -P local-integration-tests

Run integration test in cloud: mvn verify -P cloud-integration-tests

Importing project to Eclipse

Prerequisites:

Import the project as 'Existing Maven Project': File -> Import... -> Maven -> Existing Maven Projects

Building with Jenkins

  • CI Job - builds the project and runs the integration tests in cloud

For more information about running Jenkins on Jenkins on SAP HANA Cloud Platform, you can read the following Blog: Run your own Jenkins on SAP HANA Cloud Platform and have a look at https://github.com/SAP/cloud-jenkins.