Re: Problem with Publish over SSH

2021-03-05 Thread Arnaud bourree
Hi, You should use id_rsa which is private key and add id_rsa.pub which is public key to allowed keys in target platform. Regards Arnaud Le sam. 6 mars 2021 à 00:59, nosl...@hotmail.com a écrit : > I am running Jenkins on UBuntu on a Vagrant VM > > I created the ssh keys in ~/.ssh > > From

Problem with Publish over SSH

2021-03-05 Thread nosl...@hotmail.com
I am running Jenkins on UBuntu on a Vagrant VM I created the ssh keys in ~/.ssh >From Jenkins > Configure > Publish over SSH, in the Path to key I enter "/home/vagrant/.ssh/id_rsa.pub" I get a "No such file: '/home/vagrant/.ssh/id_rsa.pub"" error. Why doesn't Jenkins see this file? Thanks

RE: How can i execute shell scripts from Jenkins ?

2021-03-05 Thread 'Jensen, Gil' via Jenkins Users
Thanks Eric Thanks and Regards Gil Jensen General Dynamics Land Systems M:616-610-0914 D:586-825-5421 jen...@gdls.com From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Eric Pyle Sent: Friday, March 5, 2021 2:47 PM To: jenkinsci-users@googlegroups.com

RE: How can i execute shell scripts from Jenkins ?

2021-03-05 Thread 'Jensen, Gil' via Jenkins Users
Thank you, I have done this but they are still not running equally Thanks and Regards General Dynamics Land Systems Gil Jensen M:616-610-0914 D:586-825-5421 jen...@gdls.com From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Gil Jensen Sent: Friday,

Re: How can i execute shell scripts from Jenkins ?

2021-03-05 Thread Eric Pyle
Typically such problems are because the shell script is tested under a different user account than the one used by Jenkins. This may result in commands not being found due to different $PATH settings or permission errors because of different user permissions. It's hard to be more specific

Jenkins does not install one particular CustomTool (already tried: extract ZIP, shell script)

2021-03-05 Thread Amedee Van Gasse
I have defined a Custom Tool Tesseract, which extracts a ZIP file. In my Scripted Pipeline, I have this code: withEnv([ "gsExec=$gsPath", "compareExec=$comparePath", "Path+TESSERACT=${tool name: 'Tesseract', type: 'com.cloudbees.jenkins.plugins.customtools.CustomTool'}"

jenkins and bash

2021-03-05 Thread Gil Jensen
I have set up several jenkins jobs that do nothing more than execute bas scripts, howevwe The bash scripts run fine and complete with no errors in the but jenkins runs and gets errors is there a right way to debug this? -- You received this message because you are subscribed to the Google

Re: How can i execute shell scripts from Jenkins ?

2021-03-05 Thread Gil Jensen
can you tell me why Jenkins would get a different result from the shell scripts alone? On Wednesday, March 18, 2020 at 12:25:34 PM UTC-4 Siddhesh Malpani wrote: > Mohan, > > Yes of course you can do that. Simply ad the shell script file name in the > 'Execute Shell' step as explained by