1
0
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:
Oliver Nocon 2020-09-22 14:39:34 +02:00 committed by GitHub
parent 4ae46823b1
commit c8b1ffd654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)