-
Bug
-
Resolution: Unresolved
-
Major
-
None
Issue:
When you create a credential at a folder level and try to use it during a build with a checkmarx build step, the credential returns `null` value which fails to give access.
Steps to reproduce:
Create username/password combination which only exists at a folder level
Create freestyle build with a checkmarx build step requiring authentication inside of that folder
Choose that folder scoped username/password at the job level
Run the build and check the checkmarx logs
Observe that `Anonymous` is trying to get access rather than the username/password combination
Workaround:
You can scope the credentials at the global level and this will work 100% fine
I did see another JIRA which was having the same issue and it was resolved with [this PR|https://github.com/jenkinsci/pipeline-aws-plugin/pull/16]. Maybe there is something helpful you can get there? It looks like the credentials plugin dependency was bumped to a newer version which is not included in checkmarx