Creating CPP Build's using Build Forge and RTC
Hi all,
I have installed BF 8.0 with MSSQL Database on windows server 2012.
I am working on two use cases. The first one is to create build out of CPP code using Build forge with RTC.
The second use-case to simply execute CPP code on client machine using G++ compiler.
In the first case I am not getting any error it says Build Definition completed but no build is created. Can somebody guild me with all the details how to configure and create CPP builds using BF and RTC.
currently I am following the link https://jazz.net/library/article/640.
In the second case
I have installed MinGW as a compiler for CPP. I have verified the MinGW by compiling simple code and it works.
In bF I have created selector and Project.
In project I have only one step with command g++ New_CPPTest.cpp -o test.exe . Project fails to execute the step.
Thank you in advance!
-Deepali Nigade
Below are details
1 5/20/16 1:23 AM STEP CRRBF1600I: Step using selector 'NewSelectorCpp'. 2 5/20/16 1:23 AM MANIFEST BF_AGENT_VERSION=7.1.3.6-0-0006 3 5/20/16 1:23 AM MANIFEST BF_JOBS=0 4 5/20/16 1:23 AM MANIFEST BF_LAST_REFRESH=1463725354 5 5/20/16 1:23 AM MANIFEST BF_LAST_UPDATE=1463725354 6 5/20/16 1:23 AM MANIFEST BF_LOADRATIO=0.0 7 5/20/16 1:23 AM AUTH Running as: [prabhanjanak] in domain [KPIT] SID Type [User] 8 5/20/16 1:23 AM AUTH Running with Privilege: [Lock pages in memory] 9 5/20/16 1:23 AM AUTH Running with Privilege: [Load and unload device drivers] 10 5/20/16 1:23 AM AUTH Running with Privilege: [Profile system performance] 11 5/20/16 1:23 AM AUTH Running with Privilege: [Change the system time] 12 5/20/16 1:23 AM AUTH Running with Privilege: [Profile single process] 13 5/20/16 1:23 AM AUTH Running with Privilege: [Increase scheduling priority] 14 5/20/16 1:23 AM AUTH Running with Privilege: [Create a pagefile] 15 5/20/16 1:23 AM AUTH Running with Privilege: [Shut down the system] 16 5/20/16 1:23 AM AUTH Running with Privilege: [Generate security audits] 17 5/20/16 1:23 AM AUTH Running with Privilege: [Modify firmware environment values] 18 5/20/16 1:23 AM AUTH Running with Privilege: [Bypass traverse checking] 19 5/20/16 1:23 AM AUTH Running with Privilege: [Force shutdown from a remote system] 20 5/20/16 1:23 AM AUTH Running with Privilege: [Remove computer from docking station] 21 5/20/16 1:23 AM AUTH Running with Privilege: [Perform volume maintenance tasks] 22 5/20/16 1:23 AM AUTH Running with Privilege: [Impersonate a client after authentication] 23 5/20/16 1:23 AM AUTH Running with Privilege: [Create global objects] 24 5/20/16 1:23 AM AUTH Running with Privilege: [Increase a process working set] 25 5/20/16 1:23 AM AUTH Running with Privilege: [Change the time zone] 26 5/20/16 1:23 AM AUTH Running with Privilege: [Create symbolic links] 27 5/20/16 1:23 AM AUTH Unable to load user profile environment variables, using system default. [1314] 28 5/20/16 1:23 AM AUTH set user account to kpit\prabhanjanak 29 5/20/16 1:23 AM SET BF_AGENT_VERSION=7.1.3.6-0-0006 30 5/20/16 1:23 AM SET BF_AGENT_PLATFORM=Unknown 31 5/20/16 1:23 AM SET BF_BID=bc3488b50c7710008208159212016e29 32 5/20/16 1:23 AM SET BF_BLOCK= 33 5/20/16 1:23 AM SET BF_CLASS=Production 34 5/20/16 1:23 AM SET BF_CONSOLE_VERSION=8.003000 35 5/20/16 1:23 AM SET BF_ENGINE=4c1b5b090c771000e4350000e2816e59 36 5/20/16 1:23 AM SET BF_HOST=d-9392 37 5/20/16 1:23 AM SET BF_LASTGOODRUN=2016-05-19 16:33:06 38 5/20/16 1:23 AM SET BF_LASTGOODUNIX=1463655786 39 5/20/16 1:23 AM SET BF_LASTGOODTAG=BUILD_35 40 5/20/16 1:23 AM SET BF_LASTRUN=2016-05-19 16:33:06 41 5/20/16 1:23 AM SET BF_LASTUNIX=1463655786 42 5/20/16 1:23 AM SET BF_LASTTAG=BUILD_2008 43 5/20/16 1:23 AM SET BF_ONFAIL=Halt 44 5/20/16 1:23 AM SET BF_PID=b7f7b5a20c771000a295159231beb93d 45 5/20/16 1:23 AM SET BF_PROJECTNAME=Test_GCC1 46 5/20/16 1:23 AM SET BF_PROJECTNAME_PHYS=Test_GCC1 47 5/20/16 1:23 AM SET BF_ROOT=C:\Users\prabhanjanak\Deepali_BuildForge_new\Test_GCC1\BUILD_2009 48 5/20/16 1:23 AM SET BF_SERVER=D-9392_server 49 5/20/16 1:23 AM SET BF_SERVER_ROOT=C:\Users\prabhanjanak\Deepali_BuildForge_new 50 5/20/16 1:23 AM SET BF_SID=1 51 5/20/16 1:23 AM SET BF_SSID=b81161ea0c771000e4381592b6b1c10e 52 5/20/16 1:23 AM SET BF_SPID=b7f7b5a20c771000a295159231beb93d 53 5/20/16 1:23 AM SET BF_STEPNAME=Execution 54 5/20/16 1:23 AM SET BF_STEP_ROOT=C:\Users\prabhanjanak\Deepali_BuildForge_new\Test_GCC1\BUILD_2009\Code 55 5/20/16 1:23 AM SET BF_STEP_TYPE=REGULAR 56 5/20/16 1:23 AM SET BF_SUID=bc34a9810c771000c2a615921a9012be 57 5/20/16 1:23 AM SET BF_TAG=BUILD_2009 58 5/20/16 1:23 AM SET BF_TAG_PHYS=BUILD_2009 59 5/20/16 1:23 AM SET BF_THRESHOLD_COUNT=0 60 5/20/16 1:23 AM SET BF_USER=Root User 61 5/20/16 1:23 AM SET BF_USER_EMAIL=root@localhost 62 5/20/16 1:23 AM SET BF_USER_LOGIN=root 63 5/20/16 1:23 AM SET BF_T=012324 64 5/20/16 1:23 AM SET BF_D=160520 65 5/20/16 1:23 AM SET BF_J=140 66 5/20/16 1:23 AM SET B=2009 67 5/20/16 1:23 AM SET BF_W=5 68 5/20/16 1:23 AM EXEC Locale set to 'English_United States.1252' 69 5/20/16 1:23 AM MKDIR [C:\Users\prabhanjanak\Deepali_BuildForge_new\Test_GCC1\BUILD_2009] created. 70 5/20/16 1:23 AM MJC CRRBF1594I: Step Execution (bc34a9430c771000ed48159269f1f070) started. 71 5/20/16 1:23 AM AUTH set user account to kpit\prabhanjanak 72 5/20/16 1:23 AM SET BF_AGENT_VERSION=7.1.3.6-0-0006 73 5/20/16 1:23 AM SET BF_AGENT_PLATFORM=Unknown 74 5/20/16 1:23 AM EXEC Locale set to 'English_United States.1252' 75 5/20/16 1:23 AM EXEC Unable to set working directory to 'C:\Users\prabhanjanak\Deepali_BuildForge_new\Test_GCC1\BUILD_2009\Code' (2). 76 5/20/16 1:23 AM RESULT 4 77 5/20/16 1:23 AM MJC CRRBF1576I: Execution completed (4)
Please Guide me on this.