From 810685825e6e2ebca59abd108d718aa6a4994d5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E7=BE=8A=E7=BE=8A?= Date: Mon, 24 Feb 2020 16:04:10 +0800 Subject: [PATCH] fix source code source dir --- builder/exector/build_from_sourcecode_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,