message: full run through
diff: node {
  - def docker_compose = "docker run --rm -v \$WORKSPACE:\$WORKSPACE -v /var/run/docker.sock:/var/run/docker.sock -w \$WORKSPACE docker/compose:1.13.0"
  + def docker_compose = "docker run -t --rm -v \$WORKSPACE:\$WORKSPACE -v /var/run/docker.sock:/var/run/docker.sock -w \$WORKSPACE docker/compose:1.13.0 -p lagoon"
  +
  + deleteDir()
  +
  + stage ('Checkout') {
  + checkout scm
  + }
  +
  + stage ('docker-compose up') {
  + sshagent (credentials: ['lagoon-ci']) {
  + sh "./initGit.sh"
  + }
  + }
  stage ('docker-compose up') {
  sh "${docker_compose} up -d"
  }
  - stage ('download minishift') {
  - sh "mkdir -p minishift"
  - sh "curl -L https://github.com/minishift/minishift/releases/download/v1.1.0/minishift-1.1.0-linux-amd64.tgz | tar xz -C minishift"
  + stage ('minishift install and start') {
  + sh './startOpenShift.sh'
  + }
  +
  + stage ('run tests') {
  + sh "${docker_compose} exec tests ansible-playbook /ansible/playbooks/node.yaml"
  }
  - stage ('minishift start') {
  - sh './minishift/minishift start --vm-driver virtualbox --host-only-cidr "192.168.77.1/24"'
  + stage ('docker-compose down') {
  + sh "${docker_compose} down -v"
  }
  + stage ('docker-compose down') {
  + sh "./minishift/minishift delete"
  + }
  +
  +
  }
  \ No newline at end of file
  