Skip to content

Latest commit

 

History

History
 
 

jenkins-agent-rust

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

jenkins-agent-rust

Provides a docker image of the rust runtime for use as a Jenkins agent.

Build local

docker build -t jenkins-agent-rust .

Run local

For local running and experimentation run docker run -i -t jenkins-agent-rust /bin/bash and have a play once inside the container.

Build in OpenShift

oc process -f ../../.openshift/templates/jenkins-agent-generic-template.yml \
    -p NAME=jenkins-agent-rust \
    -p SOURCE_CONTEXT_DIR=jenkins-agents/jenkins-agent-rust \
    | oc create -f -

For all params see the list in the ../../.openshift/templates/jenkins-agent-generic-template.yml or run oc process --parameters -f ../../.openshift/templates/jenkins-agent-generic-template.yml.

Jenkins

Add a new Kubernetes Container template called jenkins-agent-rust (if you've build and pushed the container image locally) and specify this as the node when running builds. If you're using the template attached; the role: jenkins-agent is attached and Jenkins should automatically discover the agent for you. Further instructions can be found here.