All Projects → SAP-archive → cloud-jenkins

SAP-archive / cloud-jenkins

Licence: Apache-2.0 license
The Cloud Jenkins sample project builds a web archive for running Jenkins in a developer account of the SAP HANA Cloud Platform. #cloud

Programming Languages

java
68154 projects - #9 most used programming language
HTML
75241 projects

Labels

Projects that are alternatives of or similar to cloud-jenkins

cloud-mdk-tutorial-samples
Sample from the SAP mobile development kit tutorials demonstrating various components and features of the MDK in the context of an enterprise mobile solution.
Stars: ✭ 16 (+14.29%)
Mutual labels:  sample
teched2019-cloud-cf-product-list
Resources for SAP TechEd SEC364 Hands-on workshop, "Secure Microservices in Cloud Foundry Environment on SAP Cloud Platform".
Stars: ✭ 56 (+300%)
Mutual labels:  sample
cloud-hana-helloworld
This project provides the full source code for the "Hello World" tutorials on https://hcp.sap.com. In this tutorials you can learn how to make your very first steps on SAP HANA by developing a very simple "Hello World" application using the SAP HANA web-based Development Workbench on the SAP HANA Cloud Platform.
Stars: ✭ 26 (+85.71%)
Mutual labels:  sample
pdfjs
A sample for showing PDF files in a Xamarin.Forms application with pdf.js
Stars: ✭ 32 (+128.57%)
Mutual labels:  sample
ionic3-angular4-sample-app
Sample app of Ionic 3 and Angular 4
Stars: ✭ 35 (+150%)
Mutual labels:  sample
cloud-platform-workflow-virtual-event
Material for the virtual event on SAP Cloud Platform Workflow.
Stars: ✭ 25 (+78.57%)
Mutual labels:  sample
cloud-cap-nodejs-codejam
Material for the CodeJam on SAP Cloud Application Programming Model with Node.js.
Stars: ✭ 76 (+442.86%)
Mutual labels:  sample
cloud-cap-multitenancy
SAP Cloud Application Programming Model (CAP) sample code project with multitenancy using service manager-created SAP HANA containers for tenant data isolation.
Stars: ✭ 33 (+135.71%)
Mutual labels:  sample
connect
tiny cross-platform socket API library
Stars: ✭ 46 (+228.57%)
Mutual labels:  sample
sample-spring-boot-api-service
Zowe REST API service SDK and sample API service that integrates with Zowe API Mediation Layer
Stars: ✭ 26 (+85.71%)
Mutual labels:  sample
CameraX-Samples
No description or website provided.
Stars: ✭ 23 (+64.29%)
Mutual labels:  sample
spring-boot-jpetstore
A sample web application built on Doma 2 and Spring Boot.
Stars: ✭ 17 (+21.43%)
Mutual labels:  sample
play-java-fileupload-example
An example Play application showing custom multiform fileupload in Java
Stars: ✭ 13 (-7.14%)
Mutual labels:  sample
kotlet
Just another Kotlin sample Android application which uses MVP architecture, Dagger2, Retrofit + Okhttp, RxJava etc.. plus some docs I've collected
Stars: ✭ 27 (+92.86%)
Mutual labels:  sample
avantindietro
Sample Swift iOS ARKit project which shows how to implement an Undo feature for ARKit/SceneKit apps.
Stars: ✭ 16 (+14.29%)
Mutual labels:  sample
firebase-chat-sample
A sample app that shows basic usage of Firebase Auth and Database in form of a very simple chat hub app
Stars: ✭ 21 (+50%)
Mutual labels:  sample
hana-developer-cli-tool-example
Learn how to build a developer-centric SAP HANA command line tool, particularly designed to be used when performing SAP HANA development in non-SAP tooling (for example from VS Code).
Stars: ✭ 73 (+421.43%)
Mutual labels:  sample
samplescope
Desktop app with the main goal to simplify audio samples search over the internet sources.
Stars: ✭ 23 (+64.29%)
Mutual labels:  sample
cloud-espm-cloud-native
Enterprise Sales and Procurement Model (ESPM) Cloud Native is a project that showcases how an application can be made resilient by implementing resilience design patterns. This application is developed using Spring Boot framework and can be deployed locally as well as on SAP BTP, Cloud Foundry environment.
Stars: ✭ 29 (+107.14%)
Mutual labels:  sample
ui5-webcomponents-sample-react
UI5 Web Components Sample TODO application built with React.
Stars: ✭ 47 (+235.71%)
Mutual labels:  sample

Important Notice

This public repository is read-only and no longer maintained.

SAP HANA Cloud Platform Samples - Cloud Jenkins

The Cloud Jenkins sample project builds a web archive for running Jenkins in a developer account of the SAP HANA Cloud Platform.

There is no persistent file system available in SAP HANA Cloud Platform developer accounts. The Cloud Jenkins overcomes this limitation by storing the configuration in the SAP HANA Cloud Platform document service.

Prerequisites

  1. Apache Maven 3.0.4 or newer

  2. A Maven settings.xml which allows access to the Maven repository of the Jenkins project. To configure this, you can e.g. insert the following configuration into your settings.xml file:

    <profiles>
        <profile>
            <id>default-repositories</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>central</id>
                    <url>http://repo.maven.apache.org/maven2/</url>
                </repository>
                <repository>
                    <id>repo.jenkins-ci.org</id>
                    <url>http://repo.jenkins-ci.org/public/</url>
                </repository>
            </repositories>
            <pluginRepositories>
                <pluginRepository>
                    <id>central</id>
                    <url>http://repo.maven.apache.org/maven2/</url>
                </pluginRepository>
                <pluginRepository>
                    <id>repo.jenkins-ci.org</id>
                    <url>http://repo.jenkins-ci.org/public/</url>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>
    
  3. A SAP HANA Cloud Platform developer account

Quick start

  1. Clone the project from Github:

    git clone https://github.com/sap/cloud-jenkins.git;
    cd cloud-jenkins
    
  2. Build the project:

    mvn clean install
    
  3. Deploy the web archive to your SAP HANA Cloud Platform developer account:

    <path to neo tool> deploy --host hanatrial.ondemand.com --account <your developer account> --application jenkins --uri-encoding UTF-8 --user <your user ID> --source cloud-jenkins-webarchive/target/ROOT.war
    

    The neo tool (neo.sh or neo.bat) is part of the SAP HANA Cloud Platform SDK and located in the tools folder. If you access the internet via a proxy, see this documentation page: Setting Up the Console Client

  4. Configure the permissions for the Cloud Jenkins deployment:

    • Go to the SAP HANA Cloud Platform cockpit
    • On the "Authorizations" tab, enter your user ID and click on "Show Assignments"
    • Assign your user to the "admin" role of the "jenkins" application.
  5. Start the "jenkins" application on the "Java Applications" tab. The application status page also shows the URL of the application.

Result

As a result, you get:

  • A running Jenkins instance with
  • A Preconfiguration suitable for running on SAP HANA Cloud Platform (proxy, security, JGit, Maven settings), and
  • A plugin installed that adds the "Manage Jenkins Installation on Cloud" configuration page under "Manage Jenkins"

On the "Manage Jenkins Installation on Cloud" configuration page, you can:

  • Upload files to Jenkins
  • Delete files from Jenkins
  • Store the Jenkins configuration in the SAP HANA Cloud Platform document service so that it survives a restart

Next steps

As next steps, you may want to

  • Add a new build job on your Jenkins instance. Don't forget to also store the configuration in the SAP HANA Cloud Platform document service ("Manage Jenkins" > "Manage Jenkins Installation on Cloud") so that the new job is still available after a restart.
  • Read the this blog article.

Project Overview

The project consists of the following modules:

  1. cloud-jenkins-bootstrap: This module contains the bootstrapping logic which restores the Jenkins configuratation from the SAP HANA Cloud Platform document service before Jenkins is started.
  2. cloud-jenkins-storage: This module contains the logic to store the Jenkins configuration in the SAP HANA Cloud Platform document service.
  3. cloud-jenkins-defaults: This module contains the configuration which is used on first startup of the Cloud Jenkins.
  4. cloud-jenkins-plugin: This module contains the Cloud Jenkins plug-in. It provides the "Manage Cloud Jenkins Configuration" user interface.
  5. cloud-jenkins-webarchive: This module builds the Jenkins web archive that is ready to use in a SAP HANA Cloud Platform developer account.

Copyright and license

Copyright 2013, 2014 SAP AG

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

See also the file LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].