Jenkinsfile: optimize build caching
Change-Id: If3fb973b2d75672e2bb2eb09c381d48f5b5cfd4a
This commit is contained in:
parent
85fa78eae7
commit
49dcec02e5
@ -50,13 +50,13 @@ pipeline {
|
||||
parallel {
|
||||
stage('go') {
|
||||
steps {
|
||||
sh 'go build -v ./...'
|
||||
// use go test to build all the packages, including tests
|
||||
sh 'go test -v -p 16 -bench XYZXYZXYZXYZ -run XYZXYZXYZXYZ ./...'
|
||||
}
|
||||
}
|
||||
stage('go -race') {
|
||||
steps {
|
||||
sh 'go build -v -race ./...'
|
||||
// use go test to build all the packages, including tests
|
||||
sh 'go test -v -p 16 -bench XYZXYZXYZXYZ -run XYZXYZXYZXYZ -race ./...'
|
||||
|
||||
// install storj-sim
|
||||
@ -161,7 +161,7 @@ pipeline {
|
||||
}
|
||||
|
||||
sh './scripts/check-package-lock.sh'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Cross Compile') {
|
||||
steps {
|
||||
|
Loading…
Reference in New Issue
Block a user