Looking for automation on how we can deliver a specific workitem out of many from one stream to another automatically?
Hi , from an integration stream having many workitems I need to deliver only 2 workitems to next layer stream that is preprod stream and run the build for only those two workitem changes. This is to create a preprod version package which will be used to deploy in production.
Basically this process is done manually of promoting selective workitems to next layer , hence looking for a best solution to automate it. Can anyone please guide. Thank you.
One answer
You can use rtc scm cli tool to accept/deliver work items from one stream to another.
For ex: scm deliver --source <source_stream> --target <target_stream> -r <repo_url> -W <work_items>
Take a look at the help of deliver command: 'scm help deliver'
Note: The deliver will fail if the change sets in the work item depends on other change sets which are not in the target stream.