Skip to main content

Posts

Showing posts with the label jenkins

How to allow Jenkins installation access to your MS SQL Server

if you want to run integration tests against the database and your tests shall be automated with jenkins, then you will need to add the jenkins service (normally you will install jenkins as a windows service) as an sql database user. so how to find out how the user is called? open your jenkins installation and go to its system properties. you can either reach it via the URL http://<yourServerNameAndJenkinsURL>/systemInfo or you navigate to it through by clicking "manage jenkins" > "system information" there, scroll down. you will find 2 entries: USERDOMAIN and USERNAME (if your server is part of a domain of course). Example for this would be: CompanyDomain\ServerName$ now, add a new SQL User in sqlexpress by opening sql server managment studio, navigating to security/logins and say "new login..." by right click. use "windows authentication" and enter as the login name <ValueOfUserDomain>\<ValueOfUserName>. So...

C# VS 2013 with Jenkins build server, git native on TFS 2013, installing git-extensions on windows server 2012 and http checkout including msbuild

C# VS 2013 with Jenkins build server, git native on TFS 2013, installing git-extensions on windows server 2012 and http checkout including msbuild What a title, huh? well, git still is a bit exotic under windows... if you don't use the default tools. though its MUUUUCH better than a few years back. now i wanted to set up a build server for my company, and i decided to use jenkins, mostly out of curiosity how it performs with .NET. after all i used it for 1 year with java source code and was very happy with it, now i wanted to see how it does with C#. but first i need to overcome several obstacles... here is my system: * a windows server 2012 * a TFS 2013 (express) that has our C# source code hosted in the (now-native) git repository. this means its accessible over HTTP * our source code uses nuget... install jenkins, install git plugins, install msbuild plugin, install git version 2.48 (NO EARLIER VERSION!!!!) and INSTALL EVERYTHING UNDER LINUX fo...