Why? While the MacPorts installation contains a NAnt package, that package is depending on the mono package that comes with MacPorts. The mono package from MacPorts is not able to build for the iOS architecture. The problem is that the source code is not compiling right of the shelf with the Xamarin version of the […]
Archive | Build Server
Building a Build Server to help build your code and automate other things.
Building a Build Server – Installing Developer Tools to Build iOS apps with Jenkins
In the previous article, titled Building a Build Server – Installing Jenkins on OS X, we installed Jenkins on OS X, so that we can start building iOS applications automatically. In this article, we are going to set up the rest of the tools so that Jenkins can build the iOS applications. Installing Xcode and […]
Building a Build Server – Installing Jenkins on OS X
Downloading Jenkins Open a browser and go to https://jenkins.io. On the Jenkins website click the Download button. Scroll down to the packages and click on Mac OS X button, either in the Long-term Support (LTS) or in the Weekly column, depending on your preference. Wait until the download completes. Installing the Jenkins package Open the […]
Building a Build Server – Uncovering Test Coverage
In a previous article, titled Building a Build Server – Executing Unit Tests as Part of the Build, we explored the details of setting up automatic unit test execution. Automatically executing unit tests during the build gives us confidence that our code is correct. Especially if we also: Write good unit tests, Do not ignore […]
Building a Build Server – Checking Code Complexity
During the previous week, we covered setup of two tools integrating code quality checks into Jenkins (dupFinder and InspectCode), both contained in the ReSharper Command Line Tools package. In this article, we are going to further improve the code quality check of our build server by adding a code complexity checker, CCM. CCM calculates a […]
Building a Build Server – Finding Potential Problems in your Code
In last week’s article, we explored how to set up JetBrains’ dupFinder, which is part of the ReSharper Command Line Tools. In this article, we are going to set up the code inspection tool from the same package. In case you missed it, the tool setup can be found in the previous article, titled Building […]
Building a Build Server – Finding Duplicated Code Blocks in your Source
JetBrains, the company behind ReSharper, has a command-line tool package with some of the ReSharper features too. It is a free package to integrate quality analysis into continuous integration systems and can be downloaded from JetBrains’ ReSharper Command Line Tools page. In this article, we are going to integrate the dupFinder into the Jenkins build […]
Building a Build Server – Inserting Build Number into your Assembly Versions
In this article, we are going to create a build process, where the resulting assemblies contains the build number in the assembly version. Having this process in place helps to identify from where a problematic assembly came from. In .NET, the assembly versions are composed from four numbers, separated by dots. If you want to […]
Building a Build Server – Executing Unit Tests as Part of the Build
In this article, we are going to configure our Jenkins build server to execute the unit tests in the project during the build. Thus, if the unit tests fail but the code compiles, the build will be marked as unstable. The NUnit plugin, displaying the test results, also lets us to review test statistics compared […]
Creating Documentation for your Published Libraries
In the previous article, we published NuGet package on nuget.org. If you are publishing libraries, the value of the code is higher with included API documentation. XML Documentation Comments Usually, the problem with API documentations is that they are outdated because they refer to previous versions of the code. For this reason, an API documentation […]