Check out git-lfs files on VSTF build

后端 未结 5 1021
迷失自我
迷失自我 2021-01-03 08:56

I\'ve a repository hosted on VSTS, containig a file stored through git-lfs. If I just let VSTS build checkout the repository it just downloads the git-lfs metadata file cont

5条回答
  •  误落风尘
    2021-01-03 09:06

    VSTS has now an Allow Scripts to Access OAuth Token option. With this option set on the build definition the OAuth is available to build scripts.

    I've created an extension containing build tasks which change the remote Url to use the OAuth token to access the remote repository.

提交回复
热议问题