Skip to content

GitVersionTask 3.1.2 tries to fetch on VsoAgent #646

Closed

Description

@clairernovotny

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]

Activity

  1. added 2 commits that reference this issue on Sep 21, 2015
    814ffaf
    1fa2b6d
  2. added a commit that references this issue on Sep 24, 2015
    039a43b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions