jabbera / my-vsts-tasks

20 stars 18 forks source link

Required: 'environmentName' input - don't understand what this is #35

Closed mmeasor closed 6 years ago

mmeasor commented 6 years ago

I am using this for the first time, and I am stuck getting my Release Definition working because I am getting the error Required: 'environmentName' input

I have a variable named the same way, but that didn't help. I am not sure how to fix this.

Here is how my Install task is set up image

Here is the actual output of the task running image

jabbera commented 6 years ago

Hi,

You need to specify machines you are deploying to (and credentials) at the bottom of your screenshot. If you are using deployment groups, check the box that says deployment group. Let me know if that solves your issue.

Mike

mmeasor commented 6 years ago

Thank you for the quick reply. That solved the problem, thank you image

Thaval commented 3 years ago

This does not seem to work with deployment groups, I'm getting the same error. The fancy thing about this failure is that there is no field to set the environmentName. Where is that coming from?

Thaval commented 3 years ago

I found out this happens if the Service is not installed yet. If you check the option "Continue on error", the error message disappears.