I spent quite some time on getting this working on Windows with Windows Docker slaves. In the end it turned out to be mostly matter of using correct Jenkins docker plugin. Jenkins docker slave Use Yet Another Docker Plugin With this plugin it just works (Docker Plugin doesn’t work) Install JAVA into docker image and make it available on PATH In Configuration add Yet Another Docker Plugin as a Cloud Point it to Docker server Test that it is available Add the docker image Add label which can be references from builds Jenkins now automatically creates a docker container as a build is executed It does not require any additional changes It properly handles the operating system (Windows) For local only images make sure that the Pull option is set to Never Base Dockerfile This Dockerfile creates the base image for Windows build agent The only requirements is that java.

Read more →

Operating system preparation These notes assume since beginning separation of the Jenkins server and individual build agents so on the server will not be any build utilities except git which is necessary for repository polling. Install Chocolatey (see instructions on web). Install Google Chrome (using Chocolatey is actually much easier than trying to download it from web). choco install -y googlechrome Install git choco install -y git /NoShellIntegration Jenkins Server Setup This is fairly simple:

Read more →

Upgrade all packages choco outdated List available upgrades cup all -y List local Packages chocolatey list -localonly Packages choco install -y git --params='/NoShellIntegration' choco install -y poshgit choco install -y gittfs choco install -y far choco install -y atom choco install -y chefdk choco install -y winmerge choco install -y googlechrome choco install -y postman choco install -y 7zip

Read more →

I bought Garmin Edge 520 couple weeks ago. There are quite a few reviews on internet so this is not intended to be a general review. This is rather few comments on features I didn’t find described elsewhere. Device configuration I was used from Sigma Rox 9.0 that the configuration is done with convenience in a related software. This served also for the configuration backup. Unfortunately most of the setup for Garmin Edge 520 needs to be done manually on the device itself.

Read more →

Introduction Recently I had chance to evaluate usage of Chef for deployment of web service on project I am working on. There are plenty of resources available and this post is meant mostly as a serie of personal notes based on my current experience so I can easily return to it. Setup Client side Chef client can run in two modes: Standalone called chef solo Uses chef-solo command without attempts to access the server Works greatly for development of cookbooks or just for simple setup of the environment.

Read more →