Re: Jenkins master and slave workspace directory

2017-02-22 Thread Shriya Chhajed
Hi, I am facing an issue for setting the Sonar_Runner_Path. Sonar scanner is installed on my local desktop where as i am trying to integrate it on jenkins. so what path shall i put there. by putting the local path it is showing a warning and thus the build is failed. Please revert Thank you

Re: Jenkins master and slave workspace directory

2017-01-23 Thread lozh...@ebay.com
The reason is when you click workspace, it would try to find the laster node + workspace to show. Even you copy back to master, you still can not see the workspace stuff. One simple solution is after you job done, you copy back to master directory, which would be same path with the slave wo

Re: Jenkins master and slave workspace directory

2017-01-23 Thread lozhang
Once simple solution is after you job done, you copy back to master directory, which would be same path with the slave workspace. And then you can mark your configuration of job, "Restrict where this project can be run" to master . By this way, you can see the the workspace on master . On

Re: Jenkins master and slave workspace directory

2015-05-04 Thread Viktor Józsa
Hi, I'm testing Jenkins on Master-Slave configuration, but I didn't configure slave workspace directory. I set FS root on the slave, but Jenkins added "workspace" word to the path. Example: FSRoot: D:\JK output: Building remotely on jenkins-win-fin in workspace d:\JK\*workspace* \Main-Win-FIN

Re: Jenkins master and slave workspace directory

2014-11-10 Thread kannikanti madhukumar
Hi Geoff, My one hour search for changing workspace issue ended after seeing your post. Really nice post. Thanks, madhu -- 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 a

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 10:11 AM, Aswini Rajasekaran wrote: > > Yes, the CPU usage of the process which runs hudson.war scales to 250+%. Again, that only makes sense in the context of how many CPU's you have - and whether they are real cores or hyperthreads that get counted as CPUs. If you have

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi, Yes, the CPU usage of the process which runs hudson.war scales to 250+%. It doesn't run hudson.war alone, but it also runs the Maven, ANT, jboss and other tasks required by the jobs. And sometimes because of the intensity of the jobs or so, it goes out of PermGenSpace and I have to restart j

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 9:41 AM, Aswini Rajasekaran wrote: > Hi Les, > I don't run my master as slave right now and use 3 executors on master. But > at times, it is heavily loaded and the CPU usage of the master goes to 250% > or so. > If I run the master as slave, will this overloading reduce on

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi Les, I don't run my master as slave right now and use 3 executors on master. But at times, it is heavily loaded and the CPU usage of the master goes to 250% or so. If I run the master as slave, will this overloading reduce on master? Aswini On Friday, 26 April 2013 15:37:30 UTC+1, LesMikese

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 8:17 AM, Aswini Rajasekaran wrote: > Hi Les, > > This seems to be a very good idea. But will the performance of the server > increase/decrease if we make the master node to run as a slave node also and > work as master at the same time? There is probably a tiny amount of o

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi Les, This seems to be a very good idea. But will the performance of the server increase/decrease if we make the master node to run as a slave node also and work as master at the same time? Regards, Aswini On Friday, 26 April 2013 13:56:51 UTC+1, LesMikesell wrote: > > On Fri, Apr 26, 2013

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Les Mikesell
On Fri, Apr 26, 2013 at 5:44 AM, Aswini Rajasekaran wrote: > This works.. Thanks a lot Geoff. Alternatively, you can run a slave on your master machine and no executors on the master itself. -- Les Mikesell lesmikes...@gmail.com -- You received this message because you are subscribed to

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Geoff Cummings
Good :) I think it's good to keep workspace separate from build config and history. On 26 Apr 2013, at 11:44, Aswini Rajasekaran wrote: This works.. Thanks a lot Geoff. Regards, Aswini On Friday, 26 April 2013 11:07:34 UTC+1, Geoff Cummings wrote: > > > > Manage Jenkins --> Configure Syst

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
This works.. Thanks a lot Geoff. Regards, Aswini On Friday, 26 April 2013 11:07:34 UTC+1, Geoff Cummings wrote: > > > > Manage Jenkins --> Configure System > > At the top right of the page, there is an advanced button which gives more > options just below the "Home Directory" and above the "S

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Geoff Cummings
Manage Jenkins --> Configure System At the top right of the page, there is an advanced button which gives more options just below the "Home Directory" and above the "System Message" Update the Workspace Root Directory field to the following: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME} N

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Yes, I am using that in all of my other configuration files for build. But when it comes to javascript, user-extensions.js file in selenium is javascript, I don't have any way of accessing a env variable in java script. Aswini On Friday, 26 April 2013 09:29:33 UTC+1, Adam PAPAI wrote: > > Why

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Adam PAPAI
Why don't you use the $WORKSPACE variable? It always points to the directory where your source code is - or in other words where your job is located. Aswini Rajasekaran April 26, 2013 10:27 AM Hi Adam,I am running tests on both master and slaves and am specifying the tes

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Aswini Rajasekaran
Hi Adam, I am running tests on both master and slaves and am specifying the test location directory in user-extensions.js file in selenium. As the workspaces are different in master and slave, I can't run the same job in both master and slave depending on the load on master. If I can't make thi

Re: Jenkins master and slave workspace directory

2013-04-26 Thread Adam PAPAI
What is the reason why do you want it to be the same? Anyway on the master you shouldn't run tests. Only on the slaves. The reason is: on the master under the jobs/jobname there are the meta infos, build history, config.xml and so on, so the "realy" workspace is under the /workspace On the s

Jenkins master and slave workspace directory

2013-04-25 Thread Aswini Rajasekaran
Hi all, I have a small question, this might sound silly but I am not able to find the answer for this. In my jenkins master node, the workspace directory is defined as /jobs/*/workspace* - this is configured as ${ITEM_ROOTDIR}/workspace in jenkins master. whereas in slave, the workspace direct