When developing XBeach one changes the source code. To assess the effect of these changes the code needs to be be rebuild. Building the code can be done for various configurations (32 bit or 64 bit, with or without netcdf, linux version). When changes satisfy the developer, he or she can send these to the central subversion repository. After sending the code to the repository (commit), a teamcity build server (build.deltares.nl) rebuilds all possible configurations of the source code. Developers are urged to subscribe notifications of build failures in this environment to make sure they are the first ones to know. This tutorial describes how to subscribe to failure notifications on teamcity.
Step-by-step guide
- Go to the teamcity server website (currently this requires you to be on the Deltares network) at build.deltares.nl.
- Log in with your Deltares credentials:
- The start page contains a list with all projects and configurations that are run by TeamCity. XBeach is one of those projects. Go to your personal settings by clicking your name (or username) in the right upper part of the page:
- Here you can change your username to your full name (Teamcity will address you by the name entered in the Name: box). Now click on the Notification Rules tab as indicated in the following figure:
- The following screen lists all notification rules already created. To add a notification rule for XBeach build failures click "+ Add new rule":
- Rules can be configured by a lot of parameters. Make sure you only get notified:
- If something happens to builds in the XBeach configurations and
- If a build fails (only on the first occasion to prevent repetitive notifications on new commits)
Related articles