openalm / Extension-UtilitiesPack

Release Management utility tasks
Other
34 stars 38 forks source link

Setting API version on Rollback Powershell task #78

Open ateb-ms opened 7 years ago

ateb-ms commented 7 years ago

Hello

I'm getting a (404) Not Found on the Rollback Powershell script when it attempts to get the tasks. I've identified this as the api-version that is being passed. 2.1 does not work but 3.0 does. Is there anyway to change this, other than manually amendding the Rollback Powershell script on the server?

Debug logs:

2017-06-09T09:48:44.7480936Z ##[debug]Calling https://companyName.vsrm.visualstudio.com/branch/_apis/release/releases/191/environments/191/tasks?api-version=2.1-preview.1 using obtained PAT token
2017-06-09T09:48:44.7480936Z ##[debug]GET https://companyName.vsrm.visualstudio.com/branch/_apis/release/releases/191/environments/191/tasks?api-version=2.1-preview.1 with 0-byte payload
2017-06-09T09:48:44.9361123Z ##[debug]Could not obtain release tasks status
2017-06-09T09:48:44.9361123Z ##[debug]The remote server returned an error: (404) Not Found.