Another try
parent
80af94b047
commit
707d5ed3ca
|
@ -53,19 +53,17 @@ pipeline {
|
||||||
|
|
||||||
steps {
|
steps {
|
||||||
sh """
|
sh """
|
||||||
mkdir $HOME/.cache
|
|
||||||
|
|
||||||
mkdir -p /go/src/github.com/influxdata
|
mkdir -p /go/src/github.com/influxdata
|
||||||
cp -a $WORKSPACE /go/src/github.com/influxdata/influxdb
|
cp -a $WORKSPACE /go/src/github.com/influxdata/influxdb
|
||||||
|
|
||||||
cd /go/src/github.com/influxdata/influxdb
|
cd /go/src/github.com/influxdata/influxdb
|
||||||
go get github.com/golang/dep/cmd/dep
|
GOCACHE=/tmp go get github.com/golang/dep/cmd/dep
|
||||||
dep ensure -vendor-only
|
dep ensure -vendor-only
|
||||||
"""
|
"""
|
||||||
|
|
||||||
sh """
|
sh """
|
||||||
cd /go/src/github.com/influxdata/influxdb
|
cd /go/src/github.com/influxdata/influxdb
|
||||||
go test -parallel=1 ./...
|
GOCACHE=/tmp go test -parallel=1 ./...
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,13 +83,13 @@ pipeline {
|
||||||
cp -a $WORKSPACE /go/src/github.com/influxdata/influxdb
|
cp -a $WORKSPACE /go/src/github.com/influxdata/influxdb
|
||||||
|
|
||||||
cd /go/src/github.com/influxdata/influxdb
|
cd /go/src/github.com/influxdata/influxdb
|
||||||
go get github.com/golang/dep/cmd/dep
|
GOCACHE=/tmp go get github.com/golang/dep/cmd/dep
|
||||||
dep ensure -vendor-only
|
dep ensure -vendor-only
|
||||||
"""
|
"""
|
||||||
|
|
||||||
sh """
|
sh """
|
||||||
cd /go/src/github.com/influxdata/influxdb
|
cd /go/src/github.com/influxdata/influxdb
|
||||||
go test -parallel=1 ./...
|
GOCACHE=/tmp go test -parallel=1 ./...
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue