Build scripts fails via RTC build definition but passes when invoked manually.
![]() I have a .CMD file which when run on build server, works perfectly fine.
I have now created a RTC build definition in which i am trying to call the above .cmd file.
When i am requesting a personal build using above build definition, it fails with this error
Trouble initializing at D:\RTCsandbox2\XX\build....\Build\Engine\Src\ScmExec.pl line 427
Error: Unable to initialize file
Can't open perl script ".\YY\ZZ.pl": No such file or directory
Developer build script finished with errors
Build failed. Exit value was 1.
When i checked build scripts, it seems to be trying to set environment variable and may be unable to do so, resulting in not able to find files. This is happening when invoking build scripts via RTC build definition.
Manually it works fine.
Any pointers will be helpful, thanks in advance.
|
Accepted answer
![]() I believe this issue is similar to this post.
Kamal Sharma selected this answer as the correct answer
Comments Thanks Donald Nong. As you informed, My RTC Build definition was not pointing to correct working directory. Working fine now. thanks again. |
One other answer
![]() From the information you provided, I could not see why the error is related to the environment variable. Is the full path of the perl script ".\YY\ZZ.pl" set by an environment variable?
|