How to change the deployment version of each Job or Route at once
Before you begin
You have created several Jobs and or Routes in your project.
Procedure
- From the Talend Studio toolbar, click the Project Settings icon to open the corresponding window.
- Open the menu .
-
Change the version of your items according to your needs:
-
to apply the same version to all your Jobs and Routes at once:
Select the items you want to edit in the repository view then click Change all items to a fixed version.
In the text field, edit the version value then click Apply version.
Ex : The version 1.0.0-SNAPSHOT is changed to 1.0.0 at release time. - to apply a different version to each Job and Route at once:
Select the Jobs and Routes you want to edit in the repository view then click Update the version of each item.
Edit the versions in the New version column of the table.Tip: You can also edit the versions of your items individually, as well as the GroupID used to deploy them, from the Deployment tab in the Job or Route settings. - to apply the version that is used in the Job or Route:
Select the Jobs and Routes you want to edit in the repository view then click Use Job versions to use the version of the item as the artifact version that will be deployed.
-
- Click OK to save your changes and close the window.
Results
When you will republish your project items on your Continuous Integration server, at release time for example, these items will be published with the version you have defined centrally from the Studio project settings.
For more information on how to build Jobs or Routes from the Studio, see sections How to build Jobs and How to build Routes in the Talend Studio User Guide.
Fore more information on how to publish and execute Jobs via Talend Administration Center or an external Continuous Integration server, see Executing Tests.