How to setup TFS2010 to use Jenkins build server - tfs

We use Jenkins as our CI build server but have moved over to TFS to do all the project management stuff (user stories, dev tasks, test cases, reporting, automation). How do I setup TFS2010 to use our Jenkins build server?

it's actually more like the other way around. You need to configure the TFS plugin for Jenkins, telling it to use TFS as your source control system. below is a link to the jenkins TFS plug-in...
https://wiki.jenkins-ci.org/display/JENKINS/Team+Foundation+Server+Plugin

Related

How can I migrate from GitHub to VSTS with the same Jenkins Pipeline?

Our team is trying to migrate from GitHub environment to Microsoft Visual Studio Team Service environment. However, the GitHub already has a Jenkins pipeline.
I want to use the same pipeline but move it to the VSTS environment.
There are no clear tutorials regarding this issue.
I want to keep the same configuration but make this work for the repository in VSTS Git.
Please help.
You need to create a service hook for Jenkins. That will allow you to trigger Jenkins builds as appropriate.

User permissions for TFS Build server

I am creating a build using the new TFS 2015 Build definitions. I have msbuild tasks as well as npm/gulp tasks. I am looking at using variables to allow me to build and deploy to each environment, with DEV being the only one that runs on check-in. However, I don't want anyone to be able to start a deploy for production. How would I go about limiting the users that can start a deploy to production? I'd prefer to only have one build definition, for maintenance.
Use the Release hub capabilities for deployments and create an approval workflow for your environment pipeline.

Personal builds (pre-test commits) using TFS and Jenkins

Is it possible to trigger personal builds using TFS and Jenkins? Similar to what can be achieved using Teamcity. Can a developer trigger a build without checking-in so that his/her changes can be tested before checkin?
thanks,
You can do this with TFS. Assuming you are using TFS Build, available in TFS 2015 and in VSTS, and your source control is Git, you can setup a build policy for a specific branch that triggers a build any time a pull request happens. Details here.
If you are using the older XAML builds, look at Gated Checkins.

TFS and Jenkins automation

I am doing continious Integration between TFS and Jenkins.I am using TFS as a repository server.I am able to create workspace from TFS in jenkins and building of application successfully.I need automation build after TFS checkin.
IIRC Jenkins polls tfs to see if there's been a checkin, when there has it does a build (as opposed to TFS kicking off the build).

Jenkins TFS plugin deploy successful changes only

I like to do partial builds of changes from today and deploy them on other environments (TST, Support or UAT, Prod) can jenkins do this on its own?
It can, but a better question is should it. Jenkins is a build system and not a deploy system. You should instead use a release management tool like octopus deploy or release management for visual studio.
http://nakedalm.com/blog/create-release-management-pipeline-professional-developers/

Resources