GithubHelp home page GithubHelp logo

abap-ci-plugin's Introduction

ABAP Continuous Integration Plugin

Build Status Jenkins Plugin Issues Jenkins Plugin Installs Contributors

Getting Started

  • Install the plugin using the Jenkins Plugin Manager and restart Jenkins.
  • Go to the global configuration page (Manage Jenkins > Configure System).
  • Find the AbapCi Plugin Section and specify and the connection info for your ABAP development system.
  • Create a new Jenkins job for an ABAP Package of your ABAP Dev System (freestyle project or pipeline project)

Features

This plugin provides the foundation to integrate an ABAP on premise system into Jenkins.

Currently there are two Continuous Integration features supported:

  • running ATC checks
  • running Unit tests

The plugin can be used as a build step in a free-style project or also within a pipeline project.

Global configuration

In the Jenkins global configurations the connection info for the ABAP development system has to be set. In the below example this is shown for an test instance on an AWS account. The following parameters have to be specified:

  • ABAP Servername: The name of the SAP server
  • Port of ABAP Server: The used port - in the most cases this should be the standard port 8000
  • Protocol: here you have to specifiy if http or https is used
  • Client: the client number of the ABAP system
  • Username: the username of a SAP user to connect to the ABAP development system
  • Password: the password of a SAP password to connect to the ABAP development system

Global Jenkins Configuration

Sample configuration to an ABAP development system instance - Jenkins and ABAP system running in the AWS cloud

Free-style project:

If you choose to integrate the plugin into a freestyle-project you can do this by using the plugin within a build step. Simply add the AbapCi Plugin as build step and specify the ABAP package and the features you want to perform on the configured package.

Free-style project

Sample free-style project for the ABAP package $TMP - on each run ATC checks and Unit tests will be performed

Pipeline project:

The AbapCi Plugin is pipline compatible. The script to integrate an ABAP system into a pipeline is shown below. In this sample two stages will be performed, first for the package $TMP the Unit tests are run, then the ATC checks are run. The notation to call the plugin is:

abapCi sapPackagename: 'ABAP_PACKAGENAME' [, runUnitTests: (true|false)] [, runAtcChecks: (true|false)]

A great help to get the right notation is to use the Pipeline Syntax button which is located directly below the pipeline script box.

Pipeline project definition

Sample pipeline project for the ABAP package $TMP - on each run ATC checks and Unit tests will be performed

Below you can see a sample output of a Jenkins pipeline for the above configured ABAP package. Pipeline project output

Sample pipeline output for the ABAP package $TMP

abap-ci-plugin's People

Contributors

andau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.