Hello,
I write a little bash script that I would like to run with a triggered webjob, and there is an error with this line :
main_chunk=$(ls $WEBROOT_PATH/static/js/main.*.js)
The error is that it cannot find the file.
What I have noticed :
when running the script manually, doing 'sh update.sh' in the cmd console in the advanced tool of the webapp in azure portal => it is OK, file is well found
if I replace the (not really) regex star '*' of the file path, example : main_chunk=$(ls $WEBROOT_PATH/static/js/main.165484.chunck.js) => OK, the webjob is sucessfull
So I think it is the shell globbing that seems not to work with the webjob execution (but ok with cmd console).
If you have some idea to solve this,
Thanks for your help,
laurent