Tag: build

build trigger based on checkins to specific folder in a GIT repo in teamcity

I have a GIT repo for my project with 2 folders – Client and Server, containing corresponding code in each folder. I would like to have two teamcity build procedures, one each for client and server code changes. In the current setup,the entire GIT repo is chcked out and built. I would like to retrict […]

Gitlab CI – How to trigger a build only if changes happen on particular set of files

In Gitlab CI, how do you trigger a build only if changes happen on particular set of files? Is there a way to either include or exclude certain files from triggering a build? For eg: updating README.md, .gitignore files should not cause a build to trigger.

Gradle – multiple project and git repositories

We have 3 projects and a 4th one that is shared among them. A multiple project in gradle requires one to create a wrapper project and include all the sub projects in it. Each of our sub projects are being worked on by different team members and we use git as an svn. Our concern […]

Repo sync fails to initialize CM13 work tree

whenever I try to sync CM13 sources, I get this error: panos@ubuntu:~/android/cm13$ repo sync -l Syncing work tree: 67% (344/512) fatal: This operation must be run in a work tree Traceback (most recent call last): File “/home/panos/android/cm13/.repo/repo/main.py”, line 531, in <module> _Main(sys.argv[1:]) File “/home/panos/android/cm13/.repo/repo/main.py”, line 507, in _Main result = repo._Run(argv) or 0 File “/home/panos/android/cm13/.repo/repo/main.py”, […]

How to properly use CI scripts with Git hooks to compress source

I have a feature branch and a testing branch (for initial regression). I would like to have a working copy available for my testing branch for the testing environment. However, I need to compress some of the source code (not into binary, just optimize) via a script. I can enact this script via a post-receive […]

Queue build for non-default branch with git and VS

I’m using Visual Studio’s integration with git. I modified the build definition’s Source Settings to monitor all git branches (refs/heads/*). This works perfectly for automatically triggered builds. When I manually queue a new build from within Visual Studio, the only option is to queue the default build (e.g. if I default to refs/heads/develop, I can’t […]

Solving undefined reference library linking error in gcc

I was trying to build the first commit of git i.e commit e83c516 What I faced was a linker error as shown below $ make gcc -g -Wall -o update-cache update-cache.o read-cache.o -lssl /usr/bin/ld: update-cache.o: undefined reference to symbol ‘SHA1_Init@@libcrypto.so.10’ /usr/bin/ld: note: ‘SHA1_Init@@libcrypto.so.10’ is defined in DSO /lib64/libcrypto.so.10 so try adding it to the linker […]

How can I present a git SHA1 to gnu make?

I put together tarball’d releases of software that include the output from several different projects. These tarballs themselves are considered a release. The released tarball includes a BOM (bill of materials) that itemizes all the projects in it and their associated SHA1 (git) signatures. To make recreating these tarballs easier, I put together a make […]

Teamcity perform GIT Checkout

Team city agent which is currently performing the build does not have ‘git‘ installed its a linux box. I cannot have git installed there. Is there a native method in teamcity which can support the below in build step : git checkout -b %dynamicversion%

Should Git be used to store continuous integration builds?

In an environment where multiple builds (release candidate packages) can be created daily but only one a month gets promoted to production, I think storing every build in Git would be wasteful but there should be a short term location that the last few builds are published. I’m currently publishing these to a shared directory. […]

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