mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-14 11:03:09 +02:00
checkmarxExecuteScan: fix PR project identification (#2055)
This commit is contained in:
parent
4ae46823b1
commit
c8b1ffd654
@ -81,6 +81,9 @@ func loadExistingProject(sys checkmarx.System, initialProjectName, pullRequestNa
|
||||
}
|
||||
project = branchProject
|
||||
}
|
||||
} else {
|
||||
project = projects[0]
|
||||
log.Entry().Debugf("Loaded project with name %v", project.Name)
|
||||
}
|
||||
} else {
|
||||
projects := sys.GetProjectsByNameAndTeam(projectName, teamID)
|
||||
|
Loading…
Reference in New Issue
Block a user