I am trying to run a shell script on the remote host from Jenkins using SSH. I am not actually building anything. All my builds are done on the Jenkins machine and the source code comes from GIT. This particular Jenkins job is to distribute the resulting build to various environments as needed. So this job has two parameters, the environment to distribute the build to and the particular build version to distribute. There are five environments. I was able to configure successfully DEV and TSt. The configurations for UAT, STG and PRD fail to connect to server. Each environment has a shell script which copies over the deployment version to that machine.
From: [email protected] <[email protected]> On Behalf Of Ivan Fernandez Calvo Sent: Wednesday, February 5, 2020 4:37 PM To: Jenkins Users <[email protected]> Subject: [SOCIAL NETWORK] Re: [SOCIAL NETWORK] RE: [SOCIAL NETWORK] Re: SSH Remote Host not being able to connect Hi, I am confused, Do you try to connect an SSH agent to a Jenkins instance to build your jobs or you are trying to configure totter thing? https://plugins.jenkins.io/ssh-slaves<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplugins.jenkins.io%2Fssh-slaves&data=02%7C01%7Cssanders%40nycopportunity.nyc.gov%7C64563e8964464ad71d5d08d7aa83a251%7C73d61799c28440228d4154cc4f1929ef%7C0%7C0%7C637165355418679733&sdata=vgZqjdU%2Fq8XlWE8pS0vbJSv8a3gdoY0Io0ePhai0PW4%3D&reserved=0> or execute SSH remote commands on a host that it is not an Agent? https://plugins.jenkins.io/ssh<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplugins.jenkins.io%2Fssh&data=02%7C01%7Cssanders%40nycopportunity.nyc.gov%7C64563e8964464ad71d5d08d7aa83a251%7C73d61799c28440228d4154cc4f1929ef%7C0%7C0%7C637165355418689695&sdata=rlQwtQ0lGlJz1PATTNtmOFCVbN93GqcxIp3Wtl3cUCA%3D&reserved=0> -- 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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5e416e8d-aed2-4477-b42f-52322495b4e3%40googlegroups.com<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjenkinsci-users%2F5e416e8d-aed2-4477-b42f-52322495b4e3%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=02%7C01%7Cssanders%40nycopportunity.nyc.gov%7C64563e8964464ad71d5d08d7aa83a251%7C73d61799c28440228d4154cc4f1929ef%7C0%7C0%7C637165355418689695&sdata=%2BQu061xHN6YwjKzjHJOjyGx6mF71TbeiZVYXeYMcIKo%3D&reserved=0>. ________________________________ This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -- 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/BL0PR0901MB435638B3227EB50A6B500AE9F21D0%40BL0PR0901MB4356.namprd09.prod.outlook.com.
