Tag: build process

Jenkins “Git plugin” neither ignores commits with certain messages nor commits with from certain users

I am using Jenkins “Git plugin” to poll my git repository for commits. I have been using the “Advanced behavior” options “polling ignores commits from certain users”,”polling ignores commits with certain messages”, as well as “polling ignores commits in certain paths”. These seemed to work with an earlier version of Jenkins and the Git Plugin. […]

Solving our versioning and build problems

Where I work we need to rethink the way we develop software and keep track of each released version. Do you have any suggestions to solve our problems? We develop on Windows in C++ using VS 2005 (and C++ Builder for some interface stuff) We use GIT but in the worse possible way imaginable. We […]

How do I delete the first and only commit if it's the only commit in the branch?

I goofed the author info. up on the first commit. However, it seems like most of the rebase or tree modification operations rely on some other commit already existing. Even when I run Git’s interactive rebase command, all I see in my little list of commits is a single line, “noop”. :/ (Solved this by […]

Jenkins builds on tag pushes via gerrit-trigger plugin

I have a Jenkins server running the Gerrit trigger plugin for continuous integration. For running unit tests and style checks, it’s working fantastically! However, I’m interested in using Jenkins to build our deployment packages as well. Ideally, developers would push tags to Gerrit, and the gerrit-trigger plugin would notify Jenkins to build the tags, and […]

Can I have a workspace that is both a git workspace and a svn workspace?

I have checked out now a local working copy of a codebase that lives in an svn repo. It’s a big Java project that I use Eclipse to develop in. Eclipse of course builds everything on the fly, in it’s own way with all the binaries ending up in [project root]/bin. That’s perfectly fine with […]

Global Xcode run scripts

In order to automatically update build dates and build numbers, I set up a run script for the build phase in my scheme: # Auto Increment Version Script buildPlist=${PROJECT_DIR}/${INFOPLIST_FILE} CFBuildNumber=$(/usr/libexec/PlistBuddy -c “Print CFBuildNumber” $buildPlist) CFBuildNumber=$(($CFBuildNumber + 1)) /usr/libexec/PlistBuddy -c “Set :CFBuildNumber $CFBuildNumber” $buildPlist # “Mon” is a hack, but day is needed, and in English […]

Jenkins – Dont build for specific commiter or commit message

I’m having some issues with Jenkins and its Git plugin. Currently, a Gitlab server is triggering the builds but I want to configure the job so that it doesn’t build when a specific message is included in the commit. I’ve tried using the ci-skip plugin (https://github.com/banyan/jenkins-ci-skip-plugin) but instead of not starting the job, the plugin […]

why does git allow remote tags to move, or why you can't use git-tag for atomic test-and-set

I have a problem where two similar processes are running in parallel within separate clones of the same repository (typically on different computers). Each time a process runs, it fetches the latest tags from the remote and then deduces a unique number based on the tags it sees. E.g. if these tags exist on the […]

How do I count the number of git commits affecting a given subtree?

My version number looks like 0.1.3 and has two components: 0.1 (the tag) 3 (commits after tag) All this information easy to obtain from git describe –tags. For version 0.1.3 git describe may look like 0.1-3-g53d4dec All of this works fine, but I’m looking for the number of commits affecting only a given subtree, not […]

obtaining full file paths in git merge

I’m working on a tool to analyse the output of merging many topic branches and produce a detailed conflict report. I’ve run into a slight problem in that sometimes Git will produce a truncated file name in the merge command’s output, such as Merge made by recursive. …/somepath/anotherpath/toolong/default.css | 2 +- When in other cases […]

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