It's all about the answers!

Ask a question

Is it possible to add a comment with cli checkin command?


Patrick Cunniff (1324) | asked Sep 19 '12, 10:06 a.m.
edited Sep 19 '12, 1:58 p.m. by DJ Houghton (2663)
 Right now, I have to do this:

lscm checkin TestApps
lscm changeset comment <changeset>  <comment>
lscm deliver

but I want to add a comment with the checkin command so that I don't have to run 'status' to get the changeset number since I'll be running this in a script. What I'm looking for is something like:

lscm checkin -comment <comment> TestApps
lscm deliver

or

lscm checkin -alias <alias> TestApps
lscm changeset comment <alias> <comment>
lscm deliver

Comments
Karl Weinert commented Sep 19 '12, 11:26 a.m.
JAZZ DEVELOPER

3 answers



permanent link
DJ Houghton (2663) | answered Sep 19 '12, 1:57 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

permanent link
Patrick Cunniff (1324) | answered Sep 19 '12, 2:48 p.m.
Here is the workaround I am using for now:

lscm create changeset <comment>
lscm checkin TestApps
lscm deliver

(the create changeset will set the changeset to the current one)

permanent link
Jeff Foege (45266960) | answered Sep 19 '12, 6:21 p.m.
I do the following:

1) lscm status
2) Call an external script that will creates a new changeset then parses the outout for the alias of the new changeset.
3) Using the output from above, lscm changeset associate
4) lscm changeset comment
5) lscm deliver

Your answer


Register or to post your answer.


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.