Once created, you can publish your Job item 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. It can be either Talend Artifact repository that ships with Talend Administration Center, or Nexus repository. For more information, see Artifact repository preferences (Talend > Nexus > Artifact repository).
To publish your item:
In the Repository tree view, select the item you want to publish into the Artifact repository.
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.
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.
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.
If you're publishing a Job as an OSGI Bundle, select the OSGI Bundle For ESB option in the Export Type area.
If you're publishing a standalone Job, select the Standalone Job option in the Export Type area, click Next and select the export options based on your needs.
For more information on export types, see Importing/exporting items and building Jobs.
Click Finish to publish your item in 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 your Talend Runtime. The features of the item, including the dependencies are also published.