Participant: commit a workingcopy into the stream
I'm working on a server-side participant to change files after delivery.
I have read alot about scmService.batchCommit, but i cannot figure out what are the correct parameters to associate.
Is there some example available? - i have tried this:
https://jazz.net/forum/questions/163448/how-to-add-a-file-in-a-workspace-on-a-serverside-extension
https://www.ibm.com/developerworks/community/blogs/7685ca43-63d4-4946-89fd-58d379a896d1/entry/how_to_read_and_write_a_file_in_the_repository_directly_without_having_to_create_a_workspace?lang=ru
|
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
The usual pattern in RTC is to prevent a delivery to a stream that doesn't have the changes you want - that way the stream is moved from one known valid state to the next known valid state. Can you update your question to describe the changes you want to make?
Evan,
The recommended approach is to have a delivery advisor that requires the change sets to have the content you want.