scm deliver command is requesting every time a comment, workitem or change set
I am trying to execute the next command:
scm deliver -r https://MyServer:9443/ccm/ -u USER -P PASSWORD -s WorkSpace_Name
because I want to deliver every change in my WorkSpace to the stream by default. But I receive the next message:
scm deliver -r https://MyServer:9443/ccm/ -u USER -P PASSWORD -s WorkSpace_Name
because I want to deliver every change in my WorkSpace to the stream by default. But I receive the next message:
Nombre: Entregar Informes de participante:
Nombre: Conjuntos de cambios descriptivos
Es necesario asociar un elemento de trabajo o solicitud de cambio con el conjunto de cambios o debe configurarse un comentario.
"It is necessary associate an work item or change request with change set or you must set a comment"
Problema al ejecutar 'deliver':
Ha fallado 'Entregar'. No se han cumplido las condiciones previas: Es necesario asociar un elemento de trabajo o solicitud de cambio con el conjunto de cambios o debe configurarse un comentario.
I check the options for scm deliver command, and I have not found options related neither comments or workitem. For that I tried using "-c 1020" option (This is my change set name), but I continue with the same problem and same message.
How can I deliver every changes in my Workspace to the stream by default?
Maybe I do not find correctly, Which are the options for deliver in this case?
Note: I could see in JazzNet some articles about that, and the people are using API, or some RTC properties. I am not neither RTC expert or Java expert, for that I try to avoid these practices.
Thank you in advance.
2 answers
Hi Sergio,
If you don't want to associate work item and comment then for that you need to remove the Precondition Plugin "Required Work items and Comments" from Operation Behavior.
Regards,
Anurag Rajput
Hi Sergio,
Sridevi
RTC SCM CLI
To get rid of the specified error you should either associate a workitem with the changeset that you want to deliver or you should provide a comment on the changeset that you want to deliver and then run the deliver command. You can associate a workitem to the change set that you want to deliver using the "scm changeset associate" command. You can set a comment on the change set using the "scm changeset comment" command.Cheers,
Sridevi
RTC SCM CLI