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.
- Docker
- Git repo with a Jenkinsfile
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
no limitations known
no issues known
Please create issues on this repository to contact us.
see GitHub issues for planned changes