Skip to content

Instantly share code, notes, and snippets.

@chy168
Created November 30, 2014 13:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chy168/d920a3ae00a2861ce865 to your computer and use it in GitHub Desktop.
Save chy168/d920a3ae00a2861ce865 to your computer and use it in GitHub Desktop.
#export GOPATH="$JENKINS_HOME/workspace/project"
ls -alh $WORKSPACE
export GOPATH="$WORKSPACE"
export PATH="$PATH:$GOPATH/bin"
#go get github.com/ant0ine/go-json-rest/rest
# Build Binary
go get github.com/tools/godep
# go get bitbucket.org/chy168/rezt
cd src/zz.com/rezt/
godep restore
godep go install
ls -alh
ls -alh $WORKSPACE/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment