When your company/project uses multiple installations of Jenkins, quite often you’d like to move build jobs from one server to another. Jenkins does provide an extensive set of CLI command and API via HTTP. However there is nothing (yet), what would connect two build servers
Merge SVN directories
One of the applications of my customer in being maintained by an external vendor. The vendor delivers code to a separated SVN repository, by importing it every time as a new tag. This causes a few difficulties: SVN is not able to report code differences between two versions all available at the company tooling has […]
Modify single file in SVN tree
Sometimes, especially when you work cross various projects, you need to modify a single file in a project. A good example for this updating pom.xml by adding description, name, SCM or CI sections
Remove CR from CRLF
GIT does not accept text files in DOS style with CRLF characters at the end of the lines. Although it’s possible to configure repository to auto-convert line endings, the files in your local copy will remain in DOS-style. The script below, assuming it’s saved as fromdos.sh, will prepare your files by removing CR character.