This slave extends the Jenkins Maven Slave shipped with OpenShift to provide a settings.xml that proxies all dependencies through a nexus server deployed to the same namespace. This type of setup makes sense in a Lab setting, such as Open Innovation Labs CI/CD environment. For most customer engagements, you'll to update this proxy/password to use an central, enterprise artifact repo which is unlikely to be deployed in the same namespace. Or simply use the OpenShift supplied base image directly and provide artifact repository info in the application build.
oc process -f ../templates/jenkins-slave-generic-template.yml \
-p NAME=jenkins-slave-mvn \
-p SOURCE_CONTEXT_DIR=jenkins-slaves/jenkins-slave-mvn \
-p DOCKERFILE_PATH=Dockerfile \
| oc create -f -
For all params see the list in the ../templates/jenkins-slave-generic-template.yml
or run oc process --parameters -f ../templates/jenkins-slave-generic-template.yml
.