How to pass application path to task in Azure batch

后端 未结 3 792
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 08:38

I am using Azure batch. I have an exe which I need to execute on compute nodes.

I am using this path in the azure portal in my task window \"cmd /c %AZ_BATCH_APP_PACKAGE

3条回答
  •  走了就别回头了
    2021-01-25 09:25

    As an alternative i am able to execute powershell script instead of exe

    powershell C:\Scripts\CreateRG.ps1 -resourceGroup "MyRG" -location "eastUs"

提交回复
热议问题