I configured in jenkins pre-build step--> Execute shell script on remote host using ssh
Before the build i want execute the below script I am getting below error can anyone have idea and if any information i missed please let me know Actually the below script is to stop the server [EnvInject] - variables injected successfully
executing script cd /home/appsusr; ./ims-carte-stop.sh
[ssh] Exception:Auth fail
com.jcraft.jsch.jschException: Auth fail
at com.jcraft.jsch.session.connect(session.java.452)
at com.jcraft.jsch.session.connect(session.java.150)
at org.jvnet.hudson.plugins.SSHSite.createSession(SSHSite.java:114)
at org.jvnet.hudson.plugins.SSHSite.executeCommand(SSHSite.java:124)
at org.jvnet.hudson.plugins.SSHBuilder.perform(SSHBuilder.java.51)
at hudson.tasks.BuildStepMonitor$Runner.perform(BuildStepMonitor.java.19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java.700)