Tag: build automation

Alias branch for last release in Git

We have rather common Git workflow like it’s described in this article. Now on our build server we would like to make build plans for develop, master and for the last release. The problem is that last release branch have different names in time (*release-**). What are the ways to solve this problem? Is it […]

Git hosting setup that pulls from developers, rejecting broken commits?

Development teams are often plagued by builds in version control being transiently broken. The entire team’s productivity can come to a halt while trying recover from a build broken by one person. Is there software that would allow hosting Git in a way that prevents breaking builds in version control by not accepting commits that […]

How to input password to git push from script without using SSH keys?

I need to write a script that can push a tag from a build server to a git server WITHOUT USING SSH KEYS. More people have access to the build server than to the git server, so SSH keys won’t work because then anyone could push to the git server without specifying their own credentials. […]

Build Configurations for Git Flow

How are people setting up their build configurations when using Git and Git-flow? I have several tasks I want to complete: Commit – compile, run static code analysis, unit test, package Integration Test – run integration tests Deploy to Test – deploy the app to a test environment Functional Test – run end-to-end functional tests […]

CMake ExternalProject: how to specify relative path to the root CMakeLists.txt?

It seems that CMake ExternalProject always assumes the root directory of the external project to be the source directory. But what if that is not the case? Consider the following example: The external project uses this directory layout: libfoo.git <— ExternalProject assumes this as source dir. ├── … └── libfoo <— However, the actual source […]

how can i version a java application between builds?

Currently, my Java applications have the same version on every build. I am using Maven, but I am not sure how to set up the workflow to add a version to the application on each build. I imagine this works with my version control system? I am using git, does this mean I need git […]

Setting up CI with TeamCity with Git & NAnt

We’re moving away from TFS as a source control/build service. We’re now using TeamCity, and hosting our source on Git via BitBucket. Can anyone point me to a decent article, blog, existing Stack question with a basic outline of the steps here to get a CI configuration up and running? I’ve got a basic project […]

Use custom NuGet feed in Visual Studio Online

I’ve got a Visual Studio project that depends on some NuGet packages that are available from our company’s feed. That feed is accessible from the web. The project is stored in Visual Studio Online in Git repository. But those NuGet packages aren’t! I’d like to use VSO’s automated builds and continuous integration features. How can […]

Any tool to make git build every commit to a branch in a separate repository?

A git tool that meets the specs below is needed. Does one already exist? If not, I will create a script and make it available on GitHub for others to use or contribute. Is there a completely different and better way to solve the need to build/test every commit to a branch in a git […]

How to configure a jenkins job to send mail if a SCM commit

I have problems with configuring a jenkins job that need to do the following task : scheduled every 30 minutes => OK do an update (CVS, SVN, …) => OK send an email if a change is detected in the SCM repo => KO So my job is configured as follow : Source Code Management […]

Git Baby is a git and github fan, let's start git clone.