How to create a build only from new or modified files in a workspace or Stream since a specific date?
How to create a build only from new or modified files in a workspace or Stream since a specific date?
We would like to deploy only files that were modified or files that were added to a workspace or stream since last build request.
Is it possible?
|
2 answers
Thanks Andy!
Can you please point me towards some documentation on ' -j option to the compare command'?
-Chkvirgo
Comments Using the lscm command, just do:
lscm help compare
For example, the command I use is:
lscm compare -r local -I "dcfw" ws "build workspace" stream target_stream -j
To get the json output, you just add the -j option to most any of the lscm commands. If you are not familiar with lscm, you probably want to play with it a little bit. Check out this article. Good luck!
chkvirgo Kris
commented Jan 06 '14, 1:53 p.m.
Thanks Andy
chkvirgo Kris
commented Jan 07 '14, 2:01 p.m.
I tried compare command below:
lscm compare -r local -u userid -P password workspace "wrkspc" stream target_stream -p c
Is -p c supposed to remove unchanged/empty items in wrkspc component??
Andy Jewell
commented Jan 23 '14, 5:44 p.m.
Sorry, @chkvirgo, didn't realize this thread was still going on. I haven't used prune but yes, I think you would expect that to remove unchanged componented. If it's not working you might try putting it in quotes (-p "c"). Just an idea. .. |
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.