Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Secrets are already copied by the jenkins_virt_install.sh

This document is specific to the London RedCentric lab, but should evolve to a more generic setup once we have more labs. For now, there are some hard-coded logic in the wiki as well as the scripts, to make sure we can reproduce at least the one lab we have. Once we have more labs, we'll work to automate that using configuration files, command line options, etc.

...

Installing the Jenkins service

Copy the secret files from our private repo to the Jenkins ansible repo:

...

root@hpc-admin # cp -r ~/labconf/roles/ ~/labconf/ans_set_jenkins/

Then run Run Ansible and wait until it exists with no errors:

...

You may get two warnings when you log in to Jenkins, which can be corrected on the Global Security screen:

  • Agent to master security subsystem is currently off: Check the box saying "Enable Agent → Master Access Control"
  • Jenkins instance uses deprecated protocols: JNLP3-connect: Uncheck the box "Java Web Start Agent Protocol/3" in "Agent Protocols"

Save the configuration and you should be all set.