Jenkins


Downloading the latest version

A direct link to Windows Version of Jenkins is available here.  Installation of this will require administrative rights, Once the installation has been completed, you will have a service running, you can access Jenkins console at:  http://localhost:8080/

Plugins

Publish Over FTP Plugin

http://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+FTP+Plugin

Safe Restart Plugin

http://wiki.jenkins-ci.org/display/JENKINS/SafeRestart+Plugin

MSBuild Plugin

https://wiki.jenkins-ci.org/display/JENKINS/MSBuild+Plugin

set path to : C:\Program Files (x86)\MSBuild\12.0\Bin\MSBuild.exe

Nuget Plugin

https://wiki.jenkins-ci.org/display/JENKINS/Nuget+Plugin

FTP publisher plugin

https://wiki.jenkins-ci.org/display/JENKINS/FTP-Publisher+Plugin

Publish Over SSH

Publish files and/or execute commands over SSH (SCP using SFTP)

https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+SSH+Plugin

Text File Operations

Provides a build step to create or update text file with specified content. Common use cases: Create readme, build details, batch files or any scripts which can be executed later.

https://wiki.jenkins-ci.org/display/JENKINS/Text+File+Operations+Plugin

Team Foundation Server (TFS) Plugin

http://wiki.jenkins-ci.org/display/JENKINS/Team+Foundation+Server+Plugin

Visit the Manage Plugin Page [Manage Jenkins > Manage Plugins > Available ] (shortcut) and search for Team Foundation Server plugin.  Click on the checkbox and press the button ‘Install without restart’

Connecting to TFS

It is important to note that if you try to connect to TFS with an email address the connection will fail.

To set up a alternate user in TFS navigate to the Code repository and select the clone option, this will bring up a window with the clone URL and a button to Generate Git credentials.

Clicking on this button will allow you to set an Alias, this is the username you will use to connect with.

Setting up TFS repository in Jenkins

Click on the New Job link on the left menu to create a new Build Profile (shortcut)

NuGet

to get over the NuGet restore issue in the build process execute a windows batch process with the following:

C:\nuget\nuget.exe restore "%WORKSPACE%\projectName.sln"