Difference between revisions of "Localyzer Jenkins Configure System"

From Lingoport Wiki
Jump to: navigation, search
Line 1: Line 1:
 
To configure Jenkins once installed with the plugins. This assumes that the Jenkins home directory is /home/jenkins. On some systems, the Jenkins home directory is set to /var/lib/jenkins instead.
 
To configure Jenkins once installed with the plugins. This assumes that the Jenkins home directory is /home/jenkins. On some systems, the Jenkins home directory is set to /var/lib/jenkins instead.
   
To set the environment variables: from the top, select Jenkins and '''Manage Jenkins'''
+
To set the environment variables: from the top, 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. For example, DASHBOARD_HOME is the name and its values is /home/jenkins/lingoport/dashboard-client-2.0.
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. For example, DASHBOARD_HOME is the name and its values is /home/jenkins/lingoport/dashboard-client-2.0.
 
   
 
== Environment Variables ==
 
== Environment Variables ==

Revision as of 15:24, 14 April 2015

To configure Jenkins once installed with the plugins. This assumes that the Jenkins home directory is /home/jenkins. On some systems, the Jenkins home directory is set to /var/lib/jenkins instead.

To set the environment variables: from the top, 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. For example, DASHBOARD_HOME is the name and its values is /home/jenkins/lingoport/dashboard-client-2.0.

Environment Variables

Go to Configure (Configure System) and set the following environment variables:

  • DASHBOARD_HOME (/home/jenkins/lingoport/dashboard-client-2.0)
  • DASHBOARD_URL (http://10.1.10.xxx:9090)
  • LINGOPORT_DATA (/home/jenkins/Lingoport_Data)
  • LRM_DATA_HOME (/home/jenkins/Lingoport_Data/LRM)
  • LRM_HOME (/home/jenkins/lingoport/lrm-server-2.0)
  • LRM_STREAMLINING (/home/jenkins/Lingoport_Data/L10nStreamlining/)

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, signed,
  • 'authenticated' the ability to run builds, and
  • a few administration accounts with all privileges