Openshift Templates for a Fedora Jenkins Service in CentOS CI
Make a new project in openshift
sh
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
```sh # ls ./jenkins-ssh-keypair agent-id_rsa agent-id_rsa.pub
# oc secrets new jenkins-agent-ssh ./jenkins-ssh-keypair/ ```
jenkins-template.yml
file in
this reposh
# oc create -f jenkins-template.yml
sh
# oc new-app jenkins-persistent