diff --git a/BuildServer/lib/builder.js b/BuildServer/lib/builder.js index 57035e0..0455537 100644 --- a/BuildServer/lib/builder.js +++ b/BuildServer/lib/builder.js @@ -36,7 +36,7 @@ var build = function (options, callback) { branch = options.branch, skipGitLoader = options.skipGitLoader, local = options.app.get('gitpath') + "/r/", - tmp = options.app.get('tmpcodepath') + "/" + rev, + tmp = options.app.get('tmpcodepath') + "/" + rev.substr(0, 20), exported = tmp + codePostfix, release = options.app.get('releasepath') + "/" + owner + "/" + reponame + "/" + branch + "/" + rev, statusQueue = async.queue(function (task, callback) {