git - TFS 2015 build issue - Value cannot be null -
recently, when i'm trying build project on tfs 2015 using git, have encountered following error:
value cannot null. parameter name: sha1idstring i can't seem find parameter name (sha1idstring ) anywhere in source code well. idea cause this?
it seems problem involved in sources process.
please try below items narrow down issue:
- check build definition, make sure have set git repository correctly , repository trying build not empty.
- try create branch, change branch in repository settings.
- create new build definition git repository, try again.
- create new team project git , new solution, build, check if works.
please share log if problem still exist.
similar thread reference: error: value cannot null. parameter name: sha1idstring
update:
according comment below, solution creating branch under project , use same build definition queue build, new branch working fine.
all right, obviously, there wrong original branch. can try below ways narrow down issue:
backup "
.gitattributes" first (and ".gitignore" file if exists), delete files remote git branch. copy files normal branch original branch, try again.if not work, try rename original branch. try again.
- if still not work , still want keep original branch, try empty branch, commit , push sources again branch.
Comments
Post a Comment