fix source code source dir

This commit is contained in:
凡羊羊 2020-02-24 16:04:10 +08:00
parent a24b33fb43
commit 810685825e

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,