Merge pull request #686 from fanyangyang/issue/683

fix source code source dir
This commit is contained in:
黄润豪 2020-02-24 17:21:46 +08:00 committed by GitHub
commit 0896543623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -230,7 +230,7 @@ func (i *SourceCodeBuildItem) codeBuild() (*build.Response, error) {
return nil, err
}
buildReq := &build.Request{
SourceDir: i.RepoInfo.CodeHome,
SourceDir: i.RepoInfo.GetCodeBuildAbsPath(),
CacheDir: i.CacheDir,
TGZDir: i.TGZDir,
RepositoryURL: i.RepoInfo.RepostoryURL,