continuous integration - Too short history of builds in TFS -


we have tfs 2015. 1 of our build has been red long time. want check first broke build history of build results short. click "more builds..." history becomes larger few items. amazing can not see whole history. don't know. doing wrong? there no way of checking whole history? below screenshot.

screenshot build history

this how ui works @ moment. expectation teams try fix build when breaks, not let broken days on end.

you can query builds through tfx command line (if have installed)

c:\>tfx build list --status failed --top 200 --project yourproject         --definition-name yourbuilddefinition 

optionally pass --json easy parse output , filter through, example, powershell.

once you've found build you're looking can request details using

c:\>tfx build show --project myproject --build-id 1364  

or open web page build, uri pretty predictable:

https://{account}.visualstudio.com/defaultcollection        /{project}/_build?_a=summary&buildid={buildid} 

as you've noticed not builds kept, there build retention policy ensure you're not storing gigabytes of unused data. default 10 days of builds retained. (for vsts: if turn off pretty restrictive policy builds still deleted default policy of vsts, 30 days.)

enter image description here

if want retain builds indefinitely, need mark builds.

enter image description here


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -