Skip to content

This project contains the sources for Docker image creation of the Jenkinsfile runner to be used in project stewardci-core

License

Notifications You must be signed in to change notification settings

SAP/stewardci-jenkinsfilerunner-image

REUSE status

Description

This repo provides a Jenkinsfile Runner Docker image which is able to execute Jenkins pipelines on a project "Steward" instance.

Here the Development & Build Process is documented.

Requirements

  • Docker
  • Git repo with a Jenkinsfile

Download and Installation

Prebuild image versions can be found in dockerhub. To test the image using docker call:

# Test the image (e.g. with our example Jenkinsfile)
docker run \
  -e PIPELINE_GIT_URL=https://github.com/SAP-samples/stewardci-example-pipelines \
  -e PIPELINE_GIT_REVISION=master \
  -e PIPELINE_FILE=success/Jenkinsfile \
  -e PIPELINE_PARAMS_JSON={} \
  -e RUN_NAMESPACE=anything \
  -v "/workspace" \
  -w "/workspace" \
  stewardci/stewardci-jenkinsfile-runner:191031_07973f6

To build and test from sources execute the following commands:

# Build the image
./build.sh

# Test the image (e.g. with our example Jenkinsfile)
docker run \
  -e PIPELINE_GIT_URL=https://github.com/SAP-samples/stewardci-example-pipelines \
  -e PIPELINE_GIT_REVISION=master \
  -e PIPELINE_FILE=success/Jenkinsfile \
  -e PIPELINE_PARAMS_JSON={} \
  -e RUN_NAMESPACE=anything \
  -v "/workspace" \
  -w "/workspace" \
  stewardci-jenkinsfile-runner-local

Configuration

See Download and Installation

Limitations

no limitations known

Known Issues

no issues known

How to obtain support

Please create issues on this repository to contact us.

To-Do (upcoming changes)

see GitHub issues for planned changes

About

This project contains the sources for Docker image creation of the Jenkinsfile runner to be used in project stewardci-core

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published