getting this error while deploying from publissh via ssh Started by user IT HANDS <http://13.232.37.215:8080/user/ithands> Building in workspace /var/lib/jenkins/workspace/cheyney-ezradigital-wc > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url [email protected]:ITHands/cheyney-ezradigital-wc.git # timeout=10 Fetching upstream changes from [email protected]:ITHands/cheyney-ezradigital-wc.git > git --version # timeout=10 using GIT_SSH to set credentials > git fetch --tags --progress [email protected]:ITHands/cheyney-ezradigital-wc.git +refs/heads/*:refs/remotes/origin/* > git rev-parse refs/remotes/origin/staging^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/staging^{commit} # timeout=10 Checking out Revision 30671e24c4f82b1deebe58b4be538305f7920eb1 (refs/remotes/origin/staging) > git config core.sparsecheckout # timeout=10 > git checkout -f 30671e24c4f82b1deebe58b4be538305f7920eb1 Commit message: "resolve conflict" > git rev-list --no-walk 30671e24c4f82b1deebe58b4be538305f7920eb1 # timeout=10 Sending e-mails to: [email protected] [email protected] [email protected] SSH: Connecting from host [ip-172-31-31-34] SSH: Connecting with configuration [Lightsail-cheneystage] ...
SSH: Disconnecting configuration [Lightsail-cheneystage] ... ERROR: Exception when publishing, exception message [Permission denied] Build step 'Send build artifacts over SSH' changed build result to UNSTABLE Finished: UNSTABLE what could be the cause of this *Robert Rajendra* Associate Network/Server Support Engineer IT Hands P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHands.com <http://www.ithands.com/> On Mon, 1 Oct 2018 at 17:40, RAJENDRA PRASAD <[email protected]> wrote: > Install following plugins > Git plugin, > Pipeline plugin, > Credentials plugin > Credentials binding plugin > > After this use snippet generator to compose pipeline step like > 'gitcheckout' > > I hope you can do after this hint. > Let me know if you need further help? > > Thanks, > Rajendra > > On Mon 1 Oct, 2018, 5:14 PM Robert Rajendra, <[email protected]> > wrote: > >> HI >> >> need pipleine script to get code from git and deploy to the ssh and >> how to store ssh keys and location in jenkins pipeline project >> >> >> Regards >> >> *Robert Rajendra* >> >> Associate Network/Server Support Engineer >> >> IT Hands >> >> P: +91 863.087.3094 <+91%2086308%2073094> >> >> W: www.ITHands.com <http://www.ithands.com/> >> >> -- >> 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/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/jenkinsci-users/CABbC_KHUSjnPbgK%2BgEaFUnfDxUPB0D9w%2BxO_spWUEHVk47JppQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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/CAMrg02RYaqPCY83QYAqebdN7-Ty6_WxjZ4E5OhQtNsmPjVoSPg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAMrg02RYaqPCY83QYAqebdN7-Ty6_WxjZ4E5OhQtNsmPjVoSPg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CABbC_KEkHBmxj8FFvUkdKc9DcXHaa%3DJ3gLOkWimHd0TXBhrYyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
