-
Bug
-
Resolution: Not A Defect
-
Major
-
None
Given I have a job A
And job A has Credentials Parameter
And job A triggers job B sending job A's parameters
And job B has Credentials Parameter
And job B uses ssh-agent
And job B uses Authorize Project plugin
And job B uses Run as user who triggered the build
When I build job A
And choose a credential from logged in user
Then job B should find the credentials
The result unfortunately is this:
Started by upstream project "jobA" build number 4 originally caused by: Started by user Superman Running as Superman Building in workspace /app/jenkins/jobs/jobB/workspace FATAL: [ssh-agent] Could not find specified credentials [ssh-agent] Looking for ssh-agent implementation... [ssh-agent] Java/JNR ssh-agent [ssh-agent] Started.
- is duplicated by
-
JENKINS-47123 CredentialNotFoundException from downstream job using user scope credentials
-
- Resolved
-
- is related to
-
JENKINS-55052 Different behavior accessing user credentials using RunAs Specific vs. Triggered User
-
- Fixed but Unreleased
-
Attached you can find both build.xml and log files from the manual and triggered (in downstream) builds. I've replaced most of the elements with fake values due to security measures. Let me know if I can provide any other info.