Is there any way to fail a Jenkins stage when sending command to a VM using Azure Cli commands:
There is an example:
az vm run-command invoke --command-id