mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
feat(cnbBuild): exclude .git folder from cnb workspace by default (#3699)
Co-authored-by: Philipp Stehle <philipp.stehle@sap.com> Co-authored-by: Ralf Pannemans <ralf.pannemans@sap.com>
This commit is contained in:
parent
aa74e090d5
commit
56981b8f53
@ -393,7 +393,7 @@ func runCnbBuild(config *cnbBuildOptions, telemetryData *telemetry.CustomData, t
|
||||
}
|
||||
|
||||
include := ignore.CompileIgnoreLines("**/*")
|
||||
exclude := ignore.CompileIgnoreLines("piper", ".pipeline")
|
||||
exclude := ignore.CompileIgnoreLines("piper", ".pipeline", ".git")
|
||||
|
||||
projDescPath, err := project.ResolvePath(config.ProjectDescriptor, config.Path, utils)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user