Skip to content

GitVersionTask 3.1.2 tries to fetch on VsoAgent #646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
clairernovotny opened this issue Sep 16, 2015 · 0 comments
Closed

GitVersionTask 3.1.2 tries to fetch on VsoAgent #646

clairernovotny opened this issue Sep 16, 2015 · 0 comments

Comments

@clairernovotny
Copy link

On my CI server on VSO, I use both the GitVersionVsoTask and the GitVersionTask for MSBuild. The reason is that I want local builds to have assembly info's updated.

For now, I get the following warnings when the git version task runs on the VSO agent. I don't think it's getting a nofetch param:

3>MSBUILD : warning : WARN [09/16/15 8:31:47:34] Could not determine assembly version: Request failed with status code: 401 [f:\a1\91fa088d\MT\ViewModels\ViewModels.csproj]

348 
2015-09-16T12:31:47.3561791Z          INFO [09/16/15 8:31:47:34] CacheKey: f:\a1\91fa088d\MT\.git:refs/heads/release-3.0.0:be52ac789210c8f72a3943d078bef9726775b1e9

349 
2015-09-16T12:31:47.3561791Z          INFO [09/16/15 8:31:47:34] Version not in cache. Calculating version.

350 
2015-09-16T12:31:47.3561791Z          INFO [09/16/15 8:31:47:34] Applicable build agent found: 'VsoAgent'.

351 
2015-09-16T12:31:47.3561791Z          INFO [09/16/15 8:31:47:34] Branch from build environment: refs/heads/release-3.0.0

352 
2015-09-16T12:31:47.3561791Z          INFO [09/16/15 8:31:47:34] One remote found (origin -> 'https://.....visualstudio.com/DefaultCollection/....').

353 
2015-09-16T12:31:47.3561791Z          INFO [09/16/15 8:31:47:34] Fetching from remote 'origin' using the following refspecs: +refs/heads/*:refs/remotes/origin/*.

354 
2015-09-16T12:31:47.5124075Z ##[warning]WARN [09/16/15 8:31:47:49] Could not determine assembly version: Request failed with status code: 401

355 
2015-09-16T12:31:47.5124075Z      3>MSBUILD : warning : WARN [09/16/15 8:31:47:49] Could not determine assembly version: Request failed with status code: 401 [f:\a1\91fa088d\MT\ViewModels\ViewModels.csproj]
clairernovotny pushed a commit to clairernovotny/GitVersion that referenced this issue Sep 21, 2015
JakeGinnivan added a commit that referenced this issue Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant