Skip to content

Commit

Permalink
feat: Optimizing the use of cache. (PingCAP-QE#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
purelind authored Jul 12, 2023
1 parent 41ed4c4 commit 97a3a60
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ pipeline {
"""
}
}
dir('tidb-test') {
cache(path: "./", filter: '**/*', key: "ws/tidb-test/rev-${REFS.pulls[0].sha}") {
sh "touch ws-${BUILD_TAG}"
}
}
}
}
stage('JDBC Tests') {
Expand Down Expand Up @@ -120,7 +115,7 @@ pipeline {
}
}
dir('tidb-test') {
cache(path: "./", filter: '**/*', key: "ws/tidb-test/rev-${REFS.pulls[0].sha}") {
cache(path: "./", filter: '**/*', key: prow.getCacheKey('git', REFS)) {
sh """
mkdir -p bin
cp ${WORKSPACE}/tidb/bin/* bin/ && chmod +x bin/*
Expand Down

0 comments on commit 97a3a60

Please sign in to comment.