Always create a repo_root copy of a repo when necessary - in order to speed up jobs
This commit is contained in:
parent
df087201a3
commit
9dd09e4444
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ def String checkouttoreporoot(String gitURL) {
|
|||
echo "To improve Git performance: Define the REPO_ROOT enviroment to a path where a cache of git repositories can be placed on this slave"
|
||||
} else {
|
||||
def reporootname = uniquereporootname(gitURL)
|
||||
def reporootsubfolder = "${reporootenv}/${reporootname}"
|
||||
reporootsubfolder = "${reporootenv}/${reporootname}"
|
||||
|
||||
if (!fileExists(reporootsubfolder)) {
|
||||
echo "Checking out ${gitURL} to ${reporootname}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue