Change number of completed builds on web site? - tfs

The Completed Build section in our TFS 2013 installation only shows.. recent builds ..when clicking on a build definition.
Not even sure what criteria I would use but it seems everything older than a day is scrapped.
However, picking a particular build from the build definition or the little green-red-bar graph on the left (ok/failed builds) always displays the information.
So is there a way to configure the number of recent builds shown on the web page when selecting the build definition?
Having an empty list of builds there confused developers no too comfy with the TFS server and most don't bother clicking on the bar graph on the left to browse to a particular build.

is it not just a case of using the drop down in the top right of the screen to display longer time periods?

Related

How to see the builds & releases from within the PBI / BUG details page?

Currently the links tab of a PBI (or BUG) shows the commits as well as the pull requests but I would like to see the build in which those commits were included as well as the releases of that build (when it was released and to which Server)
In short, is there any way to configure TFS to see the build and release details from within the PBI/BUG Details page?
Currently our approach to find out whether a specific PBI has already been deployed, is to start from the Build and Release menu and to click through all recent releases and their builds until we find the PBI we are interested in. That is not an efficient Approach.
I found this and consider it as the answer to my question.
https://blogs.msdn.microsoft.com/devops/2017/08/25/automatic-linking-work-items-to-builds/

How to automatically link work items to the build?

I noticed that work items can be linked to a build. But I don't see a way to automatically link the work items to the build.
On pull requests, we require pull requests to be associated with a work item. When the pull request is complete, the work item is updated with a link to the commits.
If I look at a branches commit history in TFS, there is a build column. I assume that the build column would contain the build that the commit is in, but it is always blank.
We want to be able to look at a build and see what work items are contained in the build.
Is there a way to do this?
The “Automatic linking of a build with associated work items” feature was released in TFS 2017 Update 2. You could enable this feature by toggling the setting under Options in your build definition:
In this way, each successful build associated with the work item automatically appears in the development section of the work item form.
More information you can refer to the blog below:
https://blogs.msdn.microsoft.com/devops/2017/08/25/automatic-linking-work-items-to-builds/

Post Jenkins upgrade dont get jobs drop down menu from Dashboard

I have upgraded Jenkins from 1.639 to 2.60 by replacing the WAR file on the windows server.
However following this, on the jenkins job view i no longer get the drop down menu for some of the jobs
In some cases I can get the drop down menu from the All jobs view but not another specific view tab. But in other cases the drop down menu does not appear on the All view or any other tab the job is on. In all cases this worked prior to upgrade.
This does not seem to be related to thee manage of old data or for how recent a job has been run.
Transpires it was a browser compatibility issue. I had been using Chrome 21 but when I swapped and used IE 11 the drop down menus were consistently available on the upgraded 2.60 versions

How do you edit Lab Process Settings in a Lab Management template?

Everytime I try to edit the Lab Process Settings in a lab management template in Visual Studio 2013, I get the following error:
Has anyone seen this appearing? I tried creating a new build definition targeting the same template, but the error appears again.
OS: Windows 8.
VS: 2013 Update 2
You are most likely running TFS update 3 which changed the back-end of TFS to create work items for both the Test Plan and Test Suites now. There is something odd going on in your project, it may be that you have not "enabled" the features on the project so those things are done behind the scene.
To verify this, go the TFS portal and click on the little gear in the right hand corner, then click the control panel link (up top left) and select the project you are working under and finally select Manage the project administration page and click the overview tab. Is there an "enable features" button there?
If you go the home page of you project and click the little question mark on the top right corner and select about, what version do you have there?
You have changed the Process template to have the state "In progress" rather than "In Progress" and the default configuration is choking. If you go through your process template and make sure that the casing is correct ("In Progress") your issue should go away.
Full details and solutions: http://nakedalm.com/find-mappings-states-defined-test-suit-work-item-type/

How do I force a build to start in TFS?

I checked in some code and my build was added to the build queue. I can't go home until the build passes.
There is nobody in front of me, but it's been well over half an hour since my checkin and my build hasn't started (plus it's a half an hour to build the 49 large projects against the build environment). I've been at work since morning and just want to go home before midnight (it's past 8:30 already). My checkin's just sitting their in queue, not being fired off.
How do I force the build to start in an empty build machine if there is nobody in front of me in queue and nothing else going on?
edit: This is what I get for breaking my own rule of never checking in after 3pm unless it's a mandate.
Open the Team Explorer pane and navigate to your team project. Expand the 'Builds' node and find the build definition that you need to build. You should then be able to right-click it an choose 'Queue new build..'. (This does require a separate permission, and you may not have that permission).
This will then bring up the confirmation dialog where you can specify the shelveset to build (if its a gated build).
If the Builds screen shows that there are queued builds, and none running - it could be that there are no available Build Agents or they are marked offline. See Manage Your Build System for more information about how to check the status of your build agents.

Resources