mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-12 10:55:20 +02:00
fix(codeqlExecuteScan): Fix working directory (#4597)
This commit is contained in:
parent
9b6a465111
commit
33067a5cb4
@ -244,7 +244,7 @@ func runCodeqlExecuteScan(config *codeqlExecuteScanOptions, telemetryData *telem
|
||||
}
|
||||
|
||||
var reports []piperutils.Path
|
||||
cmd := []string{"database", "create", config.Database, "--overwrite", "--source-root", config.ModulePath}
|
||||
cmd := []string{"database", "create", config.Database, "--overwrite", "--source-root", ".", "--working-dir", config.ModulePath}
|
||||
|
||||
language := getLangFromBuildTool(config.BuildTool)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user