Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

 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

0 votes

Comments



3 answers

Permanent link
 Currently it is not possible. See: Allow new change set comment to be set by CLI during checkin operation (174113)

2 votes


Permanent link
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)

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Sep 19 '12, 10:06 a.m.

Question was seen: 5,384 times

Last updated: Sep 19 '12, 6:21 p.m.

Confirmation Cancel Confirm