Difference between revisions of "Localyzer Jenkins Jobs"

From Lingoport Wiki
Jump to: navigation, search
(Lingotek Jobs)
(Lingotek Jobs)
Line 12: Line 12:
   
 
== Lingotek Jobs ==
 
== Lingotek Jobs ==
* LingotekCallback: (<code>lingotek_webhook.sh</code>This job is invoked by Lingotek upon the last step of the workflow. Files are downloaded to the staging area and ready to be imported. This needs to be a <code>Parameterized Build</code> with the following <code>String Parameters</code> (default NOTSET):
+
* '''LingotekCallback''': (<code>lingotek_webhook.sh</code>This job is invoked by Lingotek upon the last step of the workflow. Files are downloaded to the staging area and ready to be imported. This needs to be a <code>Parameterized Build</code> with the following <code>String Parameters</code> (default NOTSET):
 
<code>
 
<code>
 
** project_id
 
** project_id
Line 23: Line 23:
 
** (Build Triggered Remotely:) LINGOSQUARE
 
** (Build Triggered Remotely:) LINGOSQUARE
 
</code>
 
</code>
* LingotekCheckCallback: (<code>lingotek_checkcallbacks.sh</code>) This job makes sure that files which needed to be downloaded from Lingotek have been downloaded and moved to the staging area
+
* '''LingotekCheckCallback''': (<code>lingotek_checkcallbacks.sh</code>) This job makes sure that files which needed to be downloaded from Lingotek have been downloaded and moved to the staging area
* LingotekImportKit: (<code>lingotek_import.sh</code>This job runs based on a frequency (every 2 hours) and runs the import for Lingotek files stashed under the staging area.
+
* '''LingotekImportKit''': (<code>lingotek_import.sh</code>This job runs based on a frequency (every 2 hours) and runs the import for Lingotek files stashed under the staging area.
   
 
== FTP Jobs ==
 
== FTP Jobs ==

Revision as of 19:24, 30 April 2015

LRM Jenkins Jobs are setup under 4 tabs:

  • The 0 - Infrastructure tab contains Jenkins job which run independently of particular projects.
  • The 1 - Automation tab contains on-boarded jobs which generate the status of the project and pushes it to the dashboard, and pseudo-localizes resource files if necessary. These jobs tend to run whenever files are pushed to the repository for the project.
  • The 2 - Nightlies tab contains on-boarded jobs which run every day or every night and provide an update to the dashboard and an email to a set of recipients based on the configured frequency.
  • The 3- PrepKit tab contains on-boarded jobs which are triggered by a human intervention to send the kits for translation based on the configured translation endpoint.

We focus on the infrastructure jobs

Infrastructure Tab Jobs

  • checksend: This job sweeps through unsent prep kits and tries to send them again to the configured translation endpoint, such as Lingotek, FTP, or WorldServer. It is best to keep this job triggered by a manual click so that the error is first corrected (translation group network access or authorization, etc.) before trying to resend the prep kit.
  • debug: This job is a freestyle type of job setup to enter any kind of command to debug the installation or anything else in the system.

Lingotek Jobs

  • LingotekCallback: (lingotek_webhook.shThis job is invoked by Lingotek upon the last step of the workflow. Files are downloaded to the staging area and ready to be imported. This needs to be a Parameterized Build with the following String Parameters (default NOTSET):

    • project_id
    • document_id
    • locale_code
    • locale
    • progress
    • type
    • complete
    • (Build Triggered Remotely:) LINGOSQUARE

  • LingotekCheckCallback: (lingotek_checkcallbacks.sh) This job makes sure that files which needed to be downloaded from Lingotek have been downloaded and moved to the staging area
  • LingotekImportKit: (lingotek_import.shThis job runs based on a frequency (every 2 hours) and runs the import for Lingotek files stashed under the staging area.

FTP Jobs

  • FTPDownload: This job makes sure that files which needed to be downloaded from FTP 'in' have been downloaded and moved to the staging area and are ready to be imported. It runs on a regular (every hour) schedule. It calls the ftp_download.sh script.
  • FTPImport: This job runs based on a frequency (every 2 hours) and runs the import for FTP files stashed under the staging area. It calls the ftp_import.sh script.

WorldServer Jobs