github.com/timstclair/heapster@v0.20.0-alpha1/integration/.jenkins.sh (about)

     1  #!/bin/bash
     2  
     3  set -e -x
     4  
     5  export GOPATH="$JENKINS_HOME/workspace/project"
     6  export GOBIN="$GOPATH/bin"
     7  export PATH="$GOBIN:$PATH"
     8  
     9  if ! git diff --name-only origin/master | grep -c -E "*.go|*.sh|.*yaml|Makefile" &> /dev/null; then
    10    echo "This PR does not touch files that require integration testing. Skipping integration tests!"
    11    exit 0
    12  fi
    13  
    14  make test-unit test-integration