bstinson
Brian Stinsonmaintainer
Openshift Templates for a Fedora Jenkins Service in CentOS CI
Make a new project in openshift
# oc new-project fedora-infra --description=Fedora Infrastructure
Assuming a folder with the appropriate ssh keypair, create an openshift secret which will be mounted on the jenkins master for communicating with the agents
# ls ./jenkins-ssh-keypair agent-id_rsa agent-id_rsa.pub # oc secrets new jenkins-agent-ssh ./jenkins-ssh-keypair/
Instantiate the Openshift Template using the jenkins-template.yml
file in
this repo
# oc create -f jenkins-template.yml
Make a new app, and point it at this repository (this is hard-coded in the template for now)
# oc new-app jenkins-persistent