Citrus Jenkins Slave Image for OpenShift Build Pipeline
349
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:
Content type
Image
Digest
Size
290.3 MB
Last updated
over 8 years ago
docker pull toschneck/citrus-jenkins-slave