|
|
|
Please send to [robin AT pmease DOT com]. In the script, can you please add a code snippet to check if "/path/to/build_MODEL_PBS.sh" exists before executing it? Please also send screenshot of step definition of "build_code".
All build steps are running on a same node. And I could see "./build_MODEL_PBS.sh" file both of repository folder and copied folder
And if I change some other source code, it builds correctly. Only first srcipt file modification fails build Please send me a mail then I'll send you a image file to see the source tree I guess the "copy_source" step is used to copy synced source from the node running "main_sync" step to the node running "build_code" step? If so, how about examine workspace of the node running "build_code" step to see expected modified script exists?
If it does exist, please check definition of step "build_code" to make sure that the working directory is defined appropriately to point to the directory containing the script as you are executing "./build_MODEL_PBS.sh". I could see the modified file on the expected place of the running node.
For your information, our configuration steps are structured like below. I could see the file after all step is finished sync - Sequential - MAIN_SYNC - Checkout - COPY_SOURCE - Command build - Sequential - build_Code - Command Looks like this file is picked by QuickBuild. Are you able to find this modified file in expected path by switching to workspace tab of the configuration and selecting the node running the checkout step?
14:05:26,896 [collect_local_change@USERAGENT:8821] INFO - Checking opened files...
14:05:26,897 [collect_local_change@USERAGENT:8821] DEBUG - Executing command: p4 -p P4_PORT -u P4_ID -P ****** -c P4_WORKSPACE opened 14:05:26,897 [collect_local_change@USERAGENT:8821] DEBUG - Command working directory: D:\useragent\bin 14:05:26,990 [collect_local_change@USERAGENT:8821] DEBUG - //SOURCE_TREE/build_MODEL_PBS.sh#3 - edit default change (text) 14:05:26,993 [collect_local_change@USERAGENT:8821] DEBUG - Executing command: p4 -p P4_PORT -u P4_ID -P ****** -c P4_WORKSPACE where //SOURCE_TREE/build_MODEL_PBS.sh Above is log of check out step and below is log of build step some secure information are renamed 14:08:35,006 [master>build>build_Code@BUILDAGENT:8811] INFO - /bin/sh: ./build_MODEL_PBS.sh: not found Please run build in verbose logging mode, and check step log of the checkout step to see if modification of script is detected.
|
I checked out ".sh" file from Windows system and build runs in Linux system.
Windows system stores all line end with "\r\n" and Linux shell could not execute the file