Skip to content

Instantly share code, notes, and snippets.

@danlucraft
Last active December 18, 2015 03:59
Show Gist options
  • Save danlucraft/5722203 to your computer and use it in GitHub Desktop.
Save danlucraft/5722203 to your computer and use it in GitHub Desktop.
Jenkins checks out the code into /workspaces/geoip-service/src
cd workspaces/geoip-service
rm -rf tmp
rm -rf src/geoip-service
rm -f geoip-service
mkdir tmp
mv src/* tmp/
mkdir src/geoip-service
mv tmp/* src/geoip-service/
echo $PWD
export GOPATH=$PWD
go get "code.google.com/p/go-charset/charset"
go get "code.google.com/p/go-charset/data"
go build geoip-service
SONGKICK_ENV=test go test geoip-service
@darkhelmet
Copy link

Oh right, Jenkins. Off the top of my head I don't have any bright ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment