diff --git a/builder/exector/build_from_sourcecode_run.go b/builder/exector/build_from_sourcecode_run.go index faef52e83..826fb68af 100644 --- a/builder/exector/build_from_sourcecode_run.go +++ b/builder/exector/build_from_sourcecode_run.go @@ -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,