openalm / Extension-UtilitiesPack

Release Management utility tasks
Other
34 stars 38 forks source link

Missing Output from Rollback Task #65

Closed brett3210 closed 5 years ago

brett3210 commented 7 years ago

I am trying to implement the Rollback Task example shown on https://blogs.msdn.microsoft.com/visualstudioalm/2016/03/28/implement-rollback-with-release-management-for-tfs-2015/

I am unable to locate the "Write-Verbose" and "Copy-Item" execution output when using the "Inline Script" option. It is not shown in the Release "Logs". The Log basically only contains the script itself. Are there any other setup steps required for this Task (e.g. configuration for the Release_Tasks environment variable)?

harshil93 commented 7 years ago

@shashban Any hints for this ?

brett3210 commented 7 years ago

I set "System.Debug" to "true" and have some further logging which may help:

2016-12-21T03:11:37.7790785Z ##[debug]Calling https://XXX.vsrm.visualstudio.com/YYY/_apis/release/releases/70/environments/89/tasks?api-version=2.1-preview.1 using obtained PAT token

2016-12-21T03:11:37.8070784Z ##[debug]GET https://XXX.vsrm.visualstudio.com/YYY/_apis/release/releases/70/environments/89/tasks?api-version=2.1-preview.1 with 0-byte payload

2016-12-21T03:11:39.3278377Z ##[debug]Could not obtain release tasks status

2016-12-21T03:11:39.3298366Z ##[debug]The remote server returned an error: (500) Internal Server Error.

brett3210 commented 7 years ago

Is anyone able to assist with this please?

shashban commented 7 years ago

Hi Brett,

Can you confirm the following in this regard?

To me, it looks like the server you are using no longer supports the specific api version. Based on your findings, we can determine the right fix

Thanks

brett3210 commented 7 years ago

Hi Shashban,

Thanks.

Regards

brett3210 commented 7 years ago

Hi Shashban,

Just wondering whether you've had an opportunity to investigate this further?

shashban commented 5 years ago

Closing this old issue.