Sign inSign up

toschneck/citrus-jenkins-slave

By toschneck

•Updated over 8 years ago

Citrus Jenkins Slave Image for OpenShift Build Pipeline

Image
0

349

toschneck/citrus-jenkins-slave repository overview

⁠Usage of Jenkins Slave Image in Openshift:

Add to your Jenkinsfile the following code:

    podTemplate(label: "citrus",
            cloud: "openshift",
            inheritFrom: "maven",
            containers: [
                    containerTemplate(name: "jnlp",
                            image: "toschneck/citrus-jenkins-slave",
                    )
            ])
            {
                node('citrus') {
                    sh "echo execute oc citrus build"
                    checkout scm
                    sh "mvn install"
                    junit 'citrus-tests/target/citrus-reports/**/*.xml'
                    archiveArtifacts "citrus-tests/target/citrus-*/**/*"
                }
            }

For more details how to configure a containerTemplate, see the documentations:

Tag summary

Content type

Image

Digest

Size

290.3 MB

Last updated

over 8 years ago

docker pull toschneck/citrus-jenkins-slave