|
|
|
[
Permlink
| « Hide
]
Robin Shen [24/Sep/10 11:25 PM]
It might be inherited from parent configurations. If you can send a full backup of your database via "Administration/Data Management", and tell me which build to promote to reproduce the issue, I might be able to point out source of the problem.
Thanks for attaching the database. Which build should I promote to reproduce the issue?
During the promotion process, QuickBuild tries to detect changes from repositories used in source build. Although the UAT configuration does not checkout/update any repositories, the source build of the promotion does. In this case it is "root/TMS/TEXTRON6.7", it seems builds are promoted from it to QA and then to UAT.
I also find other problems in your set up. To summarize, I recommend below changes: 1. Do not promote parent configuration to child configuration. For example, you are promoting TEXTRON6.7 to TEXTRON6.7/QA. I suggest to add a separate configuration "TEXTRON6.7/Dev", and set TEXTRON6.7 as "not buildable". "TEXTRON6.7/Dev" is set to promote to "TEXTRON6.7/QA". 2. Define all ClearCase repositories in the parent configuration, and override clearcase viewTag in child configurations so that different view tags and root paths for all child configurations. For this specific subtree, I see that you've defined ClearCase repositories in parent configuration, but you also defined them in child configurations. This is not necessary, and may cause troubles. You only need to override viewTag variable so that different child uses different ClearCase view (root path is not necessarily to be changed since it by default takes workspace of child configuration). This is applicable for all other configurations. Also I removed the attachments since our issue tracker is publicly visible. For support questions, you may submit support request via QuickBuild or through our web site, instead of creating issues in the issue tracker.
Hi Robin,
In the future I will submit a support request vi QB. I'm not sure if I understand your recommendation steps. I have a build (Textron) that does build the application and also deploy it to dev environment, the promotion to QA does only move the app to QA, I also don't overide the clearcase repositories in the configuration, I do inherit them from the parent (TMS), I still not sure why I see the error even I don't have the reference in clearcase repository. The goal that I'm trying to achieve, is after doing a dev build someone need to recommend the build then promote, I like the idea of creating TEXTRON6.7/DEV configuration, but I still need the parrent TEXTRON6.7, the steps will look like this: 1. TEXTRON6.7 : this will run the build then call TEXTON6.7/DEV (after recommending the bulid which I don't know how to do it programaticaly) 2. TEXTRON6.7/DEV: will only promote app to Dev and allow user to deploy other build to Dev 3. TEXTRON6.7/QA : will only promote recommended build from Dev and deploy the app to QA same thing with be tru for UAT I'm open to your recommendation. to removethe "W:rebuild_textron" view from clearcase repository, do I need to remove them from database? thanks, Rachid Hi Rachid,
When promote the build, QB reports clearcase repository error since the original build (generated by TEXTRON6.7) is built using the clearcase repository. Although UAT and QA does not checkout against clearcase, QB still tries to calculate clearcase changes since last UAT or QA build. The detailed explanation can be found here: http://wiki.pmease.com/display/qb30/Promote+Build#PromoteBuild-buildchanges So to avoid the error, you will need to override clearcase repository in UAT configuration to point to a valid dynamic or snapshot view, since otherwise it will inherit repository setting from its parent, which points to W:\rebuild_textron. Regards Robin As have explained, the view "W:\rebuild_textron" is defined in TEXTRON6.7, and when you promote builds to UAT, it collect changes using repository named by "clearcase" which is inherited from TEXTRON6.7. You either need to modify view definition in TEXTRON6.7 to point to a valid view, or override it in UAT configuration to point to a valid view. Please let me know if it works.
Or we can schedule a Skype session if this does not work.
How about 8:00 this Friday at timezone of GMT+8? I hope this time is fine for you.
|