Differences
This shows you the differences between the selected revisions of the page.
2016-12-21 | 2017-01-07 | ||
using HomePath and CombinePaths (martin) | explicit anchor use (martin) | ||
Line 75: | Line 75: | ||
* have a wrapper batch file named ''run.bat'' so that Azure correctly identifies it as [[#structure|the main executable]]; | * have a wrapper batch file named ''run.bat'' so that Azure correctly identifies it as [[#structure|the main executable]]; | ||
- | * the wrapper batch file should propagate WinSCP [[scripting#checking_results|exit code]], so that Azure correctly identifies failures (any non-zero exit code is a failure to Azure, the same for WinSCP); | + | * the wrapper batch file should propagate WinSCP [[scripting#result|exit code]], so that Azure correctly identifies failures (any non-zero exit code is a failure to Azure, the same for WinSCP); |
* enable session logging to a unique job run directory (''%WEBJOBS_DATA_PATH%\%WEBJOBS_RUN_ID%''); | * enable session logging to a unique job run directory (''%WEBJOBS_DATA_PATH%\%WEBJOBS_RUN_ID%''); | ||
* locate source or destination paths of the transfer using WebJob [[#environment|environment variables]]; | * locate source or destination paths of the transfer using WebJob [[#environment|environment variables]]; |