Difference between revisions of "Localyzer Projects"

From Lingoport Wiki
Jump to: navigation, search
(Creating a project in Jenkins)
(=New project)
Line 1: Line 1:
 
==Creating a project in Jenkins==
 
==Creating a project in Jenkins==
===New project==
+
===New project===
 
LRM creates projects using a [[Terms_and_Definitions#projectdefn|Project Definition XML]] file that contains information about the resources and types for translation and then calling the [[LRM_Commands_Reference#Project_Commands| Create Project Command]].
 
LRM creates projects using a [[Terms_and_Definitions#projectdefn|Project Definition XML]] file that contains information about the resources and types for translation and then calling the [[LRM_Commands_Reference#Project_Commands| Create Project Command]].
   
Line 15: Line 15:
   
 
===Configure the project===
 
===Configure the project===
Set the git directory
+
'''Set the git directory'''
  +
  +
[[File:GithubProject.jpg|600px]]
  +
  +
Set the '''Project url''' to the URL for the GitHub repository with the code.
  +
  +
Set the repository info and the branch name for the code.

Revision as of 21:09, 18 June 2019

Creating a project in Jenkins

New project

LRM creates projects using a Project Definition XML file that contains information about the resources and types for translation and then calling the Create Project Command.

This is automated in Jenkins with the Lingoport plugin.

JenkinsNewProject.jpg

To create a new project:

  1. Select New Item from the menu on the left
  2. In the dialog box, enter the name of the new project. The name must be of the form <group>.<project>, where the group is the name associated with the LRM license. If you are unsure about the group name, a Jenkins job called <group>.LicenseExpiration should have been created at installation. Use that <group> name.
  3. In the Copy from box, enter Lingoport.SampleLRM or LingoportSampleLiteLRM.

Note-a project can be created using either the project definition file directly on the command line or through the Jenkins LRM Plugin.

Configure the project

Set the git directory

GithubProject.jpg

Set the Project url to the URL for the GitHub repository with the code.

Set the repository info and the branch name for the code.