Publishing to the Artifact Repository - 7.1

Talend Data Management Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
7.1
EnrichProdName
Talend Data Management Platform
task
Design and Development
EnrichPlatform
Talend Studio

About this task

Once created, you can publish your Job into an Artifact repository. This Artifact repository will allow you to centralize, manage and register all the items created and to be deployed on your Talend Runtime.

Before being able to publish any item, you need to set the connection to your Artifact Repository in the Studio preferences. For more information, see Artifact repository preferences (Talend > Artifact Repository > Repository Settings).

Procedure

  1. In the Repository tree view, select the item you want to publish into the artifact repository.
  2. Right-click it and select Publish in the menu.
    The Publish wizard opens.
    The settings displayed in the Artifact Information area are read only.
    • If a custom group ID has been specified for the item in the Job view, the Group ID field is automatically filled in with the custom ID.

      Otherwise,
      • If the item is a root node in the repository, the Group ID field is automatically filled in with the default group ID set in the artifact repository preference settings.

      • If the item is not a root node in the repository, by default the Group ID field is automatically filled in with the folder structure. For example: getting_started.movies.

      If needed, customize the group ID for the item in the Deployment tab of the Job view.

    • The Artifact ID field is filled in with the name of the item to publish.

    • The Version field is filled in with:
      • the deployment version set in the Job view of the item or in the Project Settings dialog box.

      • deployment version derived from the version of the item to publish if no deployment version has been set for the item.

    • Depending on whether the snapshot option is enabled for the item in the Project Settings dialog box or the Job view:
      • If the Publish as Snapshot check box is selected, a snapshot version of the item will be published to the Snapshot repository.

      • Otherwise, a release version of the item will be published to the Release repository.

  3. The <Item> Version (the <Item> is Job) field is automatically filled with the highest version of the item if more than one version of it is available. Change it by selecting the version you want from the list.
  4. From the Export Type list, select:
    • Standalone Job to publish the Job as a standalone Job.
    • OSGI Bundle For ESB to publish the Job as an OSGI Bundle.
      Note: This option is available only when your Job contains tRESTClient, tRESTRequestm or tESBComsumer components.
    For more information on export types, see Importing/exporting items and building Jobs.
  5. Click Next and select the export options based on your needs.
  6. Click Finish to publish your item to the artifact repository.
    A confirmation wizard appears when you choose to publish a Release Version Artifact. Click OK to confirm it.
    Now your item is available as an artifact in the repository and can later on be retrieved for deployment and execution on Talend Runtime. The features of the item, including the dependencies, are also published.