mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Show ccache statistics
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
21721d2e03
commit
e805be5e9c
@ -6,7 +6,10 @@ timeout(time: 20, unit: 'MINUTES') {
|
|||||||
sh '. ./before-install.sh && unset http_proxy && unset https_proxy && ./check_cache.sh -l $GO_MOD_ARTFACTORY_URL --cache_dir=\$GOPATH/pkg/mod -f milvus-distributed-go-mod-cache.tar.gz || echo \"Go mod artfactory files not found!\"'
|
sh '. ./before-install.sh && unset http_proxy && unset https_proxy && ./check_cache.sh -l $GO_MOD_ARTFACTORY_URL --cache_dir=\$GOPATH/pkg/mod -f milvus-distributed-go-mod-cache.tar.gz || echo \"Go mod artfactory files not found!\"'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Zero the cache statistics (but not the configuration options)
|
||||||
|
sh 'ccache -z'
|
||||||
sh '. ./scripts/before-install.sh && make install'
|
sh '. ./scripts/before-install.sh && make install'
|
||||||
|
sh 'echo -e "===\n=== ccache statistics after build\n===" && ccache --show-stats'
|
||||||
|
|
||||||
dir ("scripts") {
|
dir ("scripts") {
|
||||||
withCredentials([usernamePassword(credentialsId: "${env.JFROG_CREDENTIALS_ID}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
withCredentials([usernamePassword(credentialsId: "${env.JFROG_CREDENTIALS_ID}", usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user