mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-18 05:18:24 +02:00
fortifyExecuteScan: Pull request version not considered on upload (#2668)
This commit is contained in:
parent
cd8515acce
commit
84df77732c
@ -147,7 +147,7 @@ func runFortifyScan(config fortifyExecuteScanOptions, sys fortify.System, utils
|
||||
|
||||
if len(config.PullRequestName) > 0 {
|
||||
fortifyProjectVersion = config.PullRequestName
|
||||
projectVersion, err := sys.LookupOrCreateProjectVersionDetailsForPullRequest(project.ID, projectVersion, fortifyProjectVersion)
|
||||
projectVersion, err = sys.LookupOrCreateProjectVersionDetailsForPullRequest(project.ID, projectVersion, fortifyProjectVersion)
|
||||
if err != nil {
|
||||
classifyErrorOnLookup(err)
|
||||
return reports, fmt.Errorf("Failed to lookup / create project version for pull request %v: %w", fortifyProjectVersion, err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user