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!
Thanks Andy 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??
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. .. |