#!/bin/bash -xe echo "==> Docker Run" docker run --rm --volume $PWD:/app --workdir /app cyberark/ubuntu-ruby-builder bash -c 'git config --global --add safe.directory /app && bundle && bundle exec rake jenkins' echo "==> CP Coverage to Spec" cp -r coverage spec