Azure Batch Start Task ends prematurely

Copper Contributor

I've finally gotten my start task for an Azure Batch to run and it seems to end prematurely during the first line of my commands. The Start Task Info says it finished green without error. Is there anything obvious I'm doing wrong here that it can't complete these commands? When I run them directly on the node it works.

 

/bin/bash -c "sudo apt-get update" 
/bin/bash -c "sudo apt-get install git build-essential cmake -y " 
/bin/bash -c "git clone https://github.com/repo.git" 
/bin/bash -c "cd repo" 
/bin/bash -c "cmake ." 
/bin/bash -c "make" 
0 Replies