The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Zanata Plugin

step([$class: 'ZanataCliBuilder']): Zanata Sync via CLI

Experimental feature - this is experimental and subject to change without notice.
  • projFile : String
  • syncG2zanata : boolean
  • syncZ2git : boolean
  • zanataCredentialsId : String
  • extraPathEntries : String (optional)

step([$class: 'ZanataSyncStep']): Zanata Sync

Use this build step to perform standard Zanata push and pull. If you need to use advanced Zanata CLI options, Jenkins admin can configure Zanata CLI installation under global tools. Then select the installation in the job configuration. You can then use it in shell.
  • zanataCredentialsId : String
  • pullFromZanata : boolean (optional)
    This will pull translation from Zanata server and commit if there is changes in it. Right now it only support commit for Git SCM. If you use other SCM, you will need to use other build step to do the commit. Note: You still need to configure a post build step to do git push or equivalent (e.g. git publisher) to push your commit to your remote repo.
  • pushToZanata : boolean (optional)
  • syncOption : String (optional)
  • zanataLocaleIds : String (optional)
  • zanataProjectConfigs : String (optional)
    If you have multiple zanata.xml in your Git repo and you want to restrict this job to certain ones, use this field and define the relative path to those files separated by comma.
  • zanataURL : String (optional)
    Leave blank to use the URL defined in your zanata.xml. If you specify a value here, it will override whats in zanata.xml.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.