Localyzer Jenkins Configure System

From Lingoport Wiki
Revision as of 19:16, 30 April 2015 by Rdaly (talk | contribs)
Jump to: navigation, search

After the plugins are installed, Jenkins should be configured. The following assumes that the Jenkins home directory is /home/jenkins. On some systems, the Jenkins home directory is set to /var/lib/jenkins instead. Verify your home directory before making changes.

Environment Variables

To set the environment variables, select Jenkins and Manage Jenkins on the left. From there, select Configure System. On the configuration page, scroll down to the Global properties section and select Environmental variables.

The following are the name value pairs to add:

  • LRM_HOME (e.g.: /home/jenkins/lingoport/lrm-server-2.0)
  • DASHBOARD_HOME (e.g.: /home/jenkins/lingoport/dashboard-client-2.0)

Throttle

Go to Configure (Configure System) and under the Throttle Concurrent Builds, add a category (MAIN for instance) with 1 Maximum Total Concurrent Builds and 1 Maximum Concurrent Builds Per Node.

Every Jenkins job MUST have this throttle setup.

Configure Global Security

The minimal configuration would be to setup Jenkins' own user database and a matrix based security, with

  • anonymous have a set of very few privileges, if any.
  • 'authenticated' the ability to run builds, and
  • a few administration accounts with all privileges