My final solution has been to bypass ssh-agent and not use it, since it
does not work.
I have instead found a way using the Jenkins Script console
(https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console) to
retrieve the private key and copy it to ~/.ssh/id_rsa and the SCM then
works.
issue link: https://issues.jenkins-ci.org/browse/JENKINS-47463
--
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 jenkinsci-users+unsubscr...@googlegroups.com.
To
Here are some http requests:
[ingress-nginx-2796083105-n5qcr] 202.10.91.226 - [202.10.91.226] - -
[17/Oct/2017:22:54:15 +] "POST
/buildByToken/buildWithParameters?token=TOKENi&job=core-build&repo_name_deploy_key=trench-deploy-key&repo_name=trench&repo_http_url=https://github.com/example/tren
What does the http request look like when you run the curl command? Can you
get a wire shark trace it something?
On Mon, Oct 16, 2017, 17:21 'Jurgen Weber' via Jenkins Users <
jenkinsci-users@googlegroups.com> wrote:
> https://issues.jenkins-ci.org/browse/JENKINS-47463
>
> --
> You received this
https://issues.jenkins-ci.org/browse/JENKINS-47463
--
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this di
ok, so What I have discovered.
If I manually in the UI, start the job and add the parameters... my build
works, ssh-agent works, it finds the key, loads it and github SCM works.
If I run the job, with the same parameter values from curl/using the
command line. it does not work and can n
I have confirmed this, if I hard code the value and not use the credential
parameter/parameter expression it all works fine.
Now if only I could use my jenkins.io account so I could make an issue.
haha.
--
You received this message because you are subscribed to the Google Groups
"Jenkins User
I am thinking I am hitting
this; https://issues.jenkins-ci.org/browse/JENKINS-24750
once I went 'ignoremising' for the ssh agent plugin..
java.io.IOException: [ssh-agent] Could not find specified credentials
So the parameter expression option for ssh-agent is not finding the
repo_name_deploy
Can you use the ssh-agent plugin + github SCM using deploy keys/ssh?
I have been trying all day, Jenkins 2.8.3,
Plugins:
- build-token-root:1.4
- credentials-binding:1.13
- docker-commons:1.8
- docker-build-step:1.43
- Exclusion:0.12
- git:3.6.0
- git-cli