Updating Job tasks with latest artifact version
After publishing or promoting a new version of an artifact, tasks have to be updated.
Before you begin
About this task
After publishing a new version of the artifact, you may need to manually update the tasks that use it with the new version if the Always use the latest available artifact version option is not enabled or if any issue caused the automatic update to fail.
After promoting a new version of the artifact, you must edit the task configuration manually to include the new promoted version. Promoting an artifact is not publishing it but only means to copy this artifact to a new environment so that you can test it before eventually publishing it. For this reason, tasks do not automatically use promoted artifacts even if they are set to use the latest artifact version, which only refers to the versions of the published artifacts. For more details about promotion rules, see Promotion rules.
If you update a task used in a plan with a new artifact version, the plan is automatically updated with the new artifact version.
- a particular task from the Task details page.
- a task used in a plan from the Plan steps box in the Plan details page.
- multiple tasks directly from the Tasks tab with the appropriate workspace selected from the Workspace list at the top of the page.
Procedure
Results
The task is updated and the next scheduled or manual execution will run with the new artifact version.
Any plan containing the task is updated automatically and its next execution will run with the new task version.