Re: Master - Slave | Does not want master to sftp slave.jar
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 >
Master - Slave | Does not want master to sftp slave.jar
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
Jenkins plugin unable to read EMMA output file
Hi I am using EMMA for code coverage. In my pom file i am using emma emma 2.0.5312 But the jenkins plugin page provide the emma plugin version 1.29. So my reports are being generated through POM but they are not being displayed and i am getting the exception. Caused by: org.xmlpull.v1.XmlPullParserException: expected START_TAG or END_TAG not TEXT (position: TEXT seen ...LE>EMMA Coverage Report (generated Tue Dec 11 15:21:28 EST 2012)
Parameterised Build + SVN Polling : Unable to pick the parameter's value.
Hi I have scenario in which i have branch and i have multiple folders in it Example: http://servername/svn/finance/app/branches/refactor_part1 http://servername/svn/finance/app/branches/refactor_part2 http://servername/svn/finance/app/branches/refactor_part3 http://servername/svn/finance/app/branches/refactor_part4 So i can make build from any folder in branch. To solve this i have created parameterized build where SVN_LOCATION can be any one of the above location and i am using Subversion, so i set REPOSITORY URL = $SVN_LOCATION This is way parameterized parameters are passed. So this is working great when build is created. But at the same time, i am using svn polling. I am getting the below exception So how can i pass the value to $SVN_LOCATION so that i do not get the exception. Oct 22, 2012 1:31:54 PM hudson.scm.SubversionSCM$DescriptorImpl doCheckRevisionPropertiesSupported INFO: Failed to access subversion repository $SVN_LOCATION org.tmatesoft.svn.core.SVNException: svn: Malformed URL '$SVN_LOCATION' at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.SVNURL.(SVNURL.java:221) at org.tmatesoft.svn.core.SVNURL.parseURIDecoded(SVNURL.java:113) at hudson.scm.SubversionSCM$DescriptorImpl.doCheckRevisionPropertiesSupported(SubversionSCM.java:2183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488) at org.kohsuke.stapler.Stapler.service(Stapler.java:162) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) Regards ilikeflex
Re: Parameterized Build
Awesome.. Thanks ilikeflex On Monday, October 22, 2012 10:23:16 AM UTC-4, atef_101 wrote: > Hello, > You can put the file under $HUDSOM_HOME/plugins and restart jenkins. > > Regards, > > 2012/10/22 ilikeflex > > >> I want to create parameterized build. So i need to install the >> parameterized plugin. >> >> My linux server does not have access to internet. >> >> So i see in the logs is i see that my jenkins tried to download the >> plugin but failed. >> >> So i downloaded the plugin manually. But i donot know how to integerate >> the plugin with jenkins. >> >> I am running jenkins through the command >> java -jar jenkins-1.483.war >> >> Any pointer >> >> Regards >> ilikeflex >> > >
Parameterized Build
I want to create parameterized build. So i need to install the parameterized plugin. My linux server does not have access to internet. So i see in the logs is i see that my jenkins tried to download the plugin but failed. So i downloaded the plugin manually. But i donot know how to integerate the plugin with jenkins. I am running jenkins through the command java -jar jenkins-1.483.war Any pointer Regards ilikeflex
Re: Change java.io.tmpdir on master node | version 1.482
It worked.. Thanks Richard On Friday, October 19, 2012 2:40:45 PM UTC-4, Richard Mortimer wrote: > > > On 19/10/2012 19:25, ilikeflex wrote: > > Hi > > > > I am running jenkins server from command line > > > > java -jar jenkins-1.482.war > > JAVA_OPTS="-Djava.io.tmpdir=/opt/webapp/jenkins-1.482/tmp" > --httpPort=8081 > try removing the JAVA_OPTS= and I also think you need to put the -D > before -jar > > > java -Djava.io.tmpdir=/opt/webapp/jenkins-1.482/tmp -jar > jenkins-1.482.war --httpPort=8081 > > Regards > > Richard > > > > > I want to change the java.io.tmpdir. Currently it is pointing to /tmp on > > my Unix Box. > > > > How can i change the java.io.tmpdir. The above command line does not > work. > > > > I have only master node in my jenkins configuration. > > > > Any pointers... >
Change java.io.tmpdir on master node | version 1.482
Hi I am running jenkins server from command line java -jar jenkins-1.482.war JAVA_OPTS="-Djava.io.tmpdir=/opt/webapp/jenkins-1.482/tmp" --httpPort=8081 I want to change the java.io.tmpdir. Currently it is pointing to /tmp on my Unix Box. How can i change the java.io.tmpdir. The above command line does not work. I have only master node in my jenkins configuration. Any pointers...