"scm deliver workitemId" only deliver the first changeset, how to deliver all related changesets?
Accepted answer
Delivering a workitem is not supported.
You can deliver multiple changesets by specifying it in the command line as follows... "scm deliver <changeset1> <changeset2> <changeset3> ...."
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=181229 is used to track this issue.
You can deliver multiple changesets by specifying it in the command line as follows... "scm deliver <changeset1> <changeset2> <changeset3> ...."
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=181229 is used to track this issue.
2 other answers
Thanks for your information Shashikant,
It is a shock this function is deprecated in new release...
I think it is a good function for scmer to auto deliver work item since some change do not need to be deliver.
I also add comment to the defect hoping to implement it.
There are some work around by EVAN, I attach here for other reference
There are a number of work arounds:
- supply the CS aliases to 'lscm deliver -c'
- repeatedly call deliver with the WI number as a parameter to '-c' (not recommended, we may get the ordering wrong)
- delivering all changes in the component
- supply the CS aliases to 'lscm deliver -c'
- repeatedly call deliver with the WI number as a parameter to '-c' (not recommended, we may get the ordering wrong)
- delivering all changes in the component
I could not understand whether this issue has been resolved in 4.0 or is planned for 4.0.3 or is not handled right now
Comments
As far as I can tell, work items only track change sets. So it is not supported to deliver work items as far as I know. In the UI you can accept a change set from a work item in your repository workspace if it is complete (or using a patch otherwise) and deliver the result.
You can find the documentation for the SCM commandline here. Deliver does only mention change sets.