How is the connection to the slave established?
SSH? You should probably switch to a JNLP Slave.
/Domi

On 20.12.2012, at 16:43, ilikeflex <[email protected]> wrote:

> Just to add: I have script on slave which will all the stuff i want. So i am 
> calling the script on slave but i do not want master to copy slave.jar on 
> slave.
> 
> On Thursday, December 20, 2012 10:11:01 AM UTC-5, ilikeflex wrote:
> Hi
> 
> I want to configure remote slave. I cannot do sftp to the slave. I have the 
> slave.jar at /opt/webapp/jenkins-slave on slave box.
> 
> Now when i launch slave from my remote(master) it always try to copy 
> slave.jar on slave.
> 
> I want Jenkins to stop copying slave.jar as i have manually put this file.
> 
> 12/20/12 09:59:04] [SSH] Checking java version of 
> /opt/webapp/jdk1.6.0_35//bin/java
> [12/20/12 09:59:04] [SSH] /opt/webapp/jdk1.6.0_35//bin/java -version returned 
> 1.6.0_35.
> [12/20/12 09:59:04] [SSH] Starting sftp client.
> hudson.util.IOException2: Could not copy slave.jar to slave
>       at 
> hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:530)
>       at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:291)
>       at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
>       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:662)
> Caused by: java.io.IOException: Remote file system root /tmp/launch-slave.sh 
> is a file not a directory or a symlink.
>       at 
> hudson.plugins.sshslaves.SSHLauncher.copySlaveJar(SSHLauncher.java:507
> 
> 
> Any pointers are highly appreciated.
> 
> Thanks
> Raj

Reply via email to