Difference between revisions of "On Boarding a Globalyzer Project"

From Lingoport Wiki
Jump to: navigation, search
(Globalyzer Scan Information)
(On Boarding the Automation Job)
Line 15: Line 15:
 
* A Globalyzer Project file is created with this information and put in the code repository.
 
* A Globalyzer Project file is created with this information and put in the code repository.
   
=On Boarding the Automation Job=
+
=On Boarding the Globalyzer Automation Job=
  +
== Jenkins ==
  +
=== Create the Jenkins job ===
  +
To begin the on-boarding process, go to Jenkins, and select the '''1-Automation''' Tab, and '''New Item'''
  +
  +
[[File:automation_tab_new_item.jpg|700px]]
  +
  +
* Make a copy of '''<code>Lingoport.SampleLite</code>'''
  +
* Set the name of the new job to '''<groupname>.<projectname>'''
  +
* Make sure '''Add to current view''' is checked and select '''OK'''
  +
  +
=== Configure the Jenkins job ===
  +
  +
==== General ====
  +
[[File:GeneralTab.png|700px]]
  +
  +
*'''General''' section: Select the GitHub project and fill in the Project url
  +
*'''Throttle Concurrent Builds''' should be checked.
  +
*'''Throttle this project as part of one or more categories '''
  +
*'''LRM Throttle''' should be checked.
  +
  +
==== Source Code Management ====
  +
[[File:source_code_management.jpg|700px]]
  +
  +
'''Source Code Management''' section: Set up the Repository, Credentials, and Branch
  +
  +
==== Build Triggers ====
  +
[[File:BuildTriggers.png|700px]]
  +
  +
These are left unchecked by default, but the '''Build Periodically''' can be set to build on a repeating basis.
  +
  +
==== Build Environment ====
  +
[[File:BuildEnvironment.png|700px]]
  +
  +
Leave these unchecked.
  +
  +
==== Build ====
  +
  +
  +
  +
==== Post Build Actions ====
  +
* Nothing needs to be modified in this section
  +
  +
Select the '''Save''' button. '''Enable''' the project and '''Build Now'''. The Jenkins project should run and push the results to the Lingoport Dashboard.
  +
  +
For more information, see [[Project Configuration Files]]

Revision as of 23:25, 11 December 2019

Before On Boarding a Globalyzer Project

To on-board any project, a number of basic information is needed:

Code Repository Location

Globalyzer Scan Information

  • The directories and files to be scanned
  • The rulesets to be used to scan the source code.
  • A Globalyzer Project file is created with this information and put in the code repository.

On Boarding the Globalyzer Automation Job

Jenkins

Create the Jenkins job

To begin the on-boarding process, go to Jenkins, and select the 1-Automation Tab, and New Item

Automation tab new item.jpg

  • Make a copy of Lingoport.SampleLite
  • Set the name of the new job to <groupname>.<projectname>
  • Make sure Add to current view is checked and select OK

Configure the Jenkins job

General

GeneralTab.png

  • General section: Select the GitHub project and fill in the Project url
  • Throttle Concurrent Builds should be checked.
  • Throttle this project as part of one or more categories
  • LRM Throttle should be checked.

Source Code Management

Source code management.jpg

Source Code Management section: Set up the Repository, Credentials, and Branch

Build Triggers

BuildTriggers.png

These are left unchecked by default, but the Build Periodically can be set to build on a repeating basis.

Build Environment

BuildEnvironment.png

Leave these unchecked.

Build

Post Build Actions

  • Nothing needs to be modified in this section

Select the Save button. Enable the project and Build Now. The Jenkins project should run and push the results to the Lingoport Dashboard.

For more information, see Project Configuration Files