Last active
December 18, 2015 03:59
-
-
Save danlucraft/5722203 to your computer and use it in GitHub Desktop.
Jenkins checks out the code into /workspaces/geoip-service/src
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh right, Jenkins. Off the top of my head I don't have any bright ideas.