I've created a job with the following lines on pipeline :
The above credentials are scoped inside my user.
When activating the "run as user who triggered build" option, I have the following error :
17:53:27 FATAL: [ssh-agent] Could not find specified credentials
But when activating the "run as specific user" and specifying my own username, I get the following line :
17:52:51 [ssh-agent] Using credentials bcohen (My SSH private key)
I really don't understand why the options "Run as specific user: bcohen" and "Run as user who triggered build" produce a different result when in these two cases, I'm the user who trigger the build.
Using credentials-binding:1.12, authorize-project:1.3.0, credentials:2.1.14.