How to get Last Run Result from TFS Backup plan - tfs

I'm new to TFS admin panel.
my question is
How to get Last run result of Scheduled task with in Back up plan ?
I couldn't find the log path where this wizard reading status ? Could some one help me on this.

You can find it in TFS logs.
Open Administrator Console. Click Logs in the left Side navigation bar, click Open Logs Folder on the right.The default path(C:\ProgramData\Microsoft\Team Foundation\Server Configuration\Logs). Search the log you need.
For example:
The Back Up log format is TFS_Scheduled_Backups_Date(ex. 1026)_xxxxx.log

Related

How to solve Dashboard showing "[user] is missing the Overall/Administer permission" after jenkins.war upgrade to 2.263.3

I was about to ask this question - but have managed to find a solution.
Adding question anyway in the hope that it might help others.
AND because I was initially scared to do anything with wizard in case jenkins config got wiped .. or something. So despite seeing the wizard I went all around the houses moving config files, editing different settings before finally finding the very easy solution!
Upgrade from jenkins.war 2.263.3 to 2.375.1 gave some trouble.
Jenkins with workflow and pipelines.
PROBLEM:
Dashboard shows "[user] is missing the Overall/Administer permission"
You can actually use menus and see jobs to some extent but various parts of GUI are not working.
SOLUTION:
Try to login as admin user.
Instead of Dashboard showing the jenkins setup wizard was showing.
Click in the wizard to skip setup and get rid of it.
After that Dashboard shows ok for the admin user and also for other users.
Another thing to watch with this jump upgrade - ssl library has changed and jenkins internal .ssh/config had to have some changes to control legacy ssh keys.
Login as admin user.
Instead of Dashboard showing the jenkins setup wizard was showing.
SOLUTION:
Click in the wizard to skip setup and get rid of it.
After that Dashboard shows ok for the admin user and also for other users.

No build icon next to the build job list in jenkins

I have a problem with one of my coworkers is not able to see the build icon next to each job. I already tried to make the permissions in Manage Jenkins -> Configure Settings -> Project-based Matrix Authorization Strategy to be the same as mine but I can see the icon and my coworker can't, so any help would be appreciated.
I'm attaching a picture so everyone knows what I'm talking about. It's the red square box that my co-worker is not able to see.
Ensure that your colleague has the Job->Build permission for those jobs, log out, clear cache in browser for jenkins, log in. It's possible their browser has an old version of the page cached or their client hasn't responded to a permissions change yet?

MTM Lab Center cannot add new Machines

I'm trying to set up a new lab environment in MTM (2010) in TFS 2010 for a client. When I attempt to define a new environment I get to this screen and everything is disabled. Is this a permissions issue or perhaps was it TFS was not set up with Lab Environment?
Should I be able to add a machine? If I go to the test settings tabs, I get to the "Roles" section and it tells me there are no Test Environments, when I click the link it takes me back to this screen below.
We were able to create the controller yesterday and it shows up in the Controllers tab.
Experimenting futher on this tab I attempt to "Componse Virtual Environment" and this is the message it showed. "You cannot create a Virtual Environment"
I am not TFS Admin, and need to ask someone else to do this if indeed it's the issue. I'll look it up on google but am also looking for any tips.
The root cause was that I didn't know, at the time; when clicking on the "Machines" tab that you must highlight the controller and then click "Add to the Environment" once I did that I saw the machine pop up in the Environments window.

TFS Reporting pointing to old server

I had a problem with TFS that forced me to restore TFS to a new server. Everything is working fine except for the Warehouse, Analysis Services and the Reports.
Mainly the report keeps pointing to the old server, and when I try to edit it by pointing to new server TFS Administration Console returns the following message:
I do not wish to restore my old reports; I would like to create all the TFS reporting from scratch. Would someone please point me to the correct place to start?
Thanks!
To target the report to the new server, please follow the steps below:
1). Go the TFS Administration Console, go to Application Tier -> Reporting, then click the Edit link.
2). On the Reporting dialog, check the Use Reporting checkbox.
3). On the Warehouse tab, type the new server name on the Server field.
4). On the Analysis Service tab, specify the new server name in the Server field, Database name, and user account information.
5). On the Reports tab, type your new server name and click the Populate URLs button to have these reporting server URLs populated. Then type the user account information.
This was finally solved by clicking the "Specify non-default instance" checkbox, without entering any value in the following combobox. TFS has created the Warehouse and Analysis database by itself.

How to remove a user from Jenkins

I have many users in Jenkins that have automatically come from SVN. One of our developers left the project and I removed him from the SVN. However, his contacts are not removed from Jenkins and I cannot find a place in Jenkins where I could remove users from. Any ideas on how to remove users from Jenkins?
I couldn't find the delete option. I went here and found a relevant but unhelpful answer. So I just tried:
http://<jenkins.url>/user/<username>/delete
I got redirected to an existing page \o/ There was a button asking to confirm the deletion. I clicked and the user was removed.
Hope this helps
PS: I just found how to do it right: Go to "Manage Jenkins" > "Manage Users" and click the delete button on the same row (far right) of the user you want to delete
I believe you need to remove or replace the user from, all the times they exist, in the build.xml file(s) which are under the jobs directory then the name of the job and the builds directory.
If you go to the People view, you can click a user and then choose Delete in the left-hand menu (if you have Administer access).
You could also delete the folder [jenkins-root]/Users/[username] and re-start Jenkins.

Resources