Closed jkwinder closed 5 years ago
Quite likely related to #55.
I've asked Microsoft to look into this, as it looks like an agent thing. It would be very helpful if you could provide a few additional detail:
This is VSTS. Agent version is 2.122. I can see about getting a log for you.
-Jeff
From: Jesse Houwing [mailto:notifications@github.com] Sent: Monday, November 13, 2017 2:45 PM To: jessehouwing/vsts-tfvc-tasks vsts-tfvc-tasks@noreply.github.com Cc: jkwinder winderjk@gmail.com; Author author@noreply.github.com Subject: Re: [jessehouwing/vsts-tfvc-tasks] check in changes not working (#54)
I'm checking with the VSTS team, they're asking whether this is VSTS or TFS, what agent version, how the builds are triggered. If you can provide a log in debug mode where. This triggers would be appreciated.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jessehouwing_vsts-2Dtfvc-2Dtasks_issues_54-23issuecomment-2D344068923&d=DwMFaQ&c=nFCqHnrrxvlLMYTrG_iNtg&r=IR1wkB5hZRgkOthRypQL65l8LzThuAS1WpIkhK-Aou0&m=57nFtgC2AEawc42nVOSXGJ7mKOZSOyr1JAqMWezBggw&s=zcuQwUIE4EJZb0Scunr7M8bugRch89-hon9Ya8bqO7M&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Af8XIlrjMN3KBgIpXF3durVpxEA7fbkjks5s2LhggaJpZM4QWzP7&d=DwMFaQ&c=nFCqHnrrxvlLMYTrG_iNtg&r=IR1wkB5hZRgkOthRypQL65l8LzThuAS1WpIkhK-Aou0&m=57nFtgC2AEawc42nVOSXGJ7mKOZSOyr1JAqMWezBggw&s=BwIue5P4eSZsKQP4HJvSSslHxJKciYxoQsAwIpRoRpU&e=.
Fixed with #78
We've had good success with this task in one vsts instance, but after moving the build definition and repo to a different vsts instance, we cannot get this task to work there. One issue that occurs is that the Build_Repository_Name environment variable has no value and that causes an error on Get-ServiceEndpoint as near as we can tell. There really are no differences in the build agent between the two environments (they are running on the same VM) nor are there any differences in the build definition. We've looked into differences with the collection permissions for the service account which runs the build agent and can't see anything that would be causing this problem Does anyone have any idea why that variable wouldn't be set? We've also tried explicitly setting that variable, but then encounter another error shortly afterwards.