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
    • Type: String
  • syncG2zanata
    • Type: boolean
  • syncZ2git
    • Type: boolean
  • zanataCredentialsId
    • Type: String
  • extraPathEntries (optional)
    • Type: String

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
    • Type: String
  • pullFromZanata (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.
    • Type: boolean
  • pushToZanata (optional)
    • Type: boolean
  • syncOption (optional)
    • Type: String
  • zanataLocaleIds (optional)
    • Type: String
  • zanataProjectConfigs (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.
    • Type: String
  • zanataURL (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.
    • Type: String

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.