I'll bite. How can I use JGit instead of git in Jenkins? I thought it was 
hard-burnt into the Git Plugin.

On Wednesday, April 24, 2019 at 1:08:48 PM UTC-4, Randall Becker wrote:
>
> This is a new situation that I have encountered after a clean install of 
> 2.164. Attempting to use an SSH keypair (with passphrase) to talk to 
> BitBucket.org, in a Multibranch Pipeline job. The key is properly 
> configured as an Private Key (entered manually) with a Passphrase.
>
> When I hit Scan Multibranch Pipeline Now, Jenkins immediately prompts the 
> JVM's stderr for the passphrase. As an example:
>
> Enter passphrase for key '/tmp/ssh6766884284790436436.key':
>
> I also get an error in the Multibranch scan log:
>
>  > git ls-remote [email protected]:group/repo.git # edited, of course
> ERROR: [Wed Apr 24 16:58:41 UTC 2019] Could not update folder level actions 
> from source 73a4292e-,,,,
> hudson.plugins.git.GitException: Command "git ls-remote 
> [email protected]:group/repo.git" returned status code 128:
> stdout: 
> stderr: Permission denied (publickey).
> fatal: Could not read from remote repository.
>
>
> This is bizarre. I'm running Ubuntu 16.04 using the default JRE. This did 
> not happen on earlier versions of Jenkins that were running in Docker 
> images - I had to remove Docker for VPN reasons.
>
> I'm basically off the air at this point. Did I just miss a plugin or do 
> something silly?
>
> TIA,
> Randall
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/30f56e57-d3de-4e43-96dc-d07aa4ebdcda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to