Deploy is "Success" when no machines are found

If you deploy a project to an environment where no servers match, then it will appear as a successful deployment on the dashboard.

The log shows this warning:

WARN This step will be skipped because there are no machines in the environment ‘Production’ in the following role(s): core-web.

I think this should cause the deployment to fail instead.

Had this happened today. Agreed.

Thanks all, we’ll try to work out a better way of handling this.


This also happens in the Azure scenario, when trying to deploy to an non-existing Cloud Service.