Skip to content

Jenkins configuration

Pellaeon Lin edited this page Sep 15, 2016 · 8 revisions

Jenkins host

Only tested on FreeBSD 10.2

Dependencies

pkg install bash py27-pip
pip-2.7 install virtualenv

Jenkins

Plugins

Config

  • Job concurrency should be set to 1. Otherwise parts of the script may interfere with each other.

GHPRB related

  • According to its README.md
  • Whitelist GitHub outgoing hook IP 192.30.252.0/22 (ref)[https://help.github.com/articles/what-ip-addresses-does-github-use-that-i-should-whitelist/]
  • Add jenkins_java_opts="-Dhudson.model.ParametersAction.keepUndefinedParameters=true" to rc.conf to work around SECURITY-170

Job structure

We need 2 matrix jobs in order to monitor 2 different repos. The configurations for the build is identical.

  • bsd-cloudinit (folder)
    • bsd-cloudinit image build matrix (checks out bsd-cloudinit)
    • bsd-cloudinit-installer image build matrix (checks out bsd-cloudinit-installer)

OpenStack RC file is stored as "Secret file" in "bsd-cloudinit (folder) > Configuration > Credentials".

Clone this wiki locally