It's all about the answers!

Ask a question

BF build properties are not getting updated at project level in a build.


Zeeshan Choudhry (6541512) | asked Sep 27 '13, 3:27 a.m.
edited Sep 27 '13, 3:32 a.m.
There are the Environment variables that are passed to BF from RTC.

347 13/09/18 11:44 SET oldsnapshotFile=BuildConfig\BF_PROJECTNAME\RTCStream_xxxHost_oldsnapshot.txt
100 13/09/18 11:44 SET RTCStream=xxx_xxx_03
109 13/09/18 11:44 SET xxxHost=x03
111 13/09/18 11:44 SET BuildConfig=C:\BuildWork\BuildConfig
268 13/09/18 11:44 SET BF_PROJECTNAME=400_xxx


Thats how the ENV looks like

415 13/09/18 11:44 ENV oldsnapshotFile=BuildConfig\BF_PROJECTNAME\RTCStream_xxxHost_oldsnapshot.txt
432 13/09/18 11:44 ENV RTCStream=xxx_xxx_03
165 13/09/18 11:44 ENV BuildConfig=C:\BuildWork\BuildConfig
373 13/09/18 11:44 ENV BF_PROJECTNAME=400_xxx
592 13/09/18 11:44 ENV xxxHost=x03

so  we are setting

oldsnapshotFile=BuildConfig\BF_PROJECTNAME\RTCStream_xxxHost_oldsnapshot.txt

And thats what gets assigned after override.

231 13/09/18 11:44 MKDIR [C:\BuildWork\BuildJob\400_xxx\BUILD_02]
232 13/09/18 11:44 RESULT 0 (0)
233 13/09/18 11:44 EXEC EXEC BUILD_02 BUILD_02_400_xxx_x03_xxx_xxx_03_20130920_01
234 13/09/18 11:44 STEP .bset env "oldsnapshotFile=${BuildConfig}\${BF_PROJECTNAME}\${RTCStream}_${xxxHost}_oldsnapshot.txt"
235 13/09/18 11:44 EXEC .bset oldsnapshotFile BuildConfig\BF_PROJECTNAME\RTCStream_xxxHost_oldsnapshot.txt

So the override is not getting done by the BF


2 answers



permanent link
Zeeshan Choudhry (6541512) | answered Sep 27 '13, 3:27 a.m.
This is a known defect in Build Forge, Build Forge needs to be upgraded to 7.1.1.3


Comments
Zeeshan Choudhry commented Sep 27 '13, 3:29 a.m. | edited Sep 27 '13, 3:29 a.m.

The Build Forge defect is regarding the snapshot value is not getting overridden.


Ryan Ruscett commented Sep 27 '13, 7:38 a.m.

Thank you for returning to answer your own question for others to see! 


permanent link
Ryan Ruscett (1.0k413) | answered Sep 27 '13, 7:36 a.m.
 Zeeshan is correct, an upgrade is the best solution to the problem. I did want to add this document to the question. This document explains how this entire process works in detail. It think that you could find a valid work around from reading this article, in the event that an upgrade is not possible at this moment. 



Comments
Ryan Ruscett commented Sep 27 '13, 7:37 a.m.

Oops, forgot the link!

Your answer


Register or to post your answer.