Re: Copy files from master to slave

2014-07-16 Thread Panikera Raj
Hi Corneil Thanks for you help, Actually I am using cross platform, as I mentioned above, If at all I want to use as Build step every time I need to mount directory and copy file to the machine some times mounting issue I am facing. Is there any other way where I can overcome this. Regards,

Shell build steps stopped working

2014-07-16 Thread Sebastian Schuberth
Hi, I'm running Jenkins 1.554.3 LTS on Windows Server 2008 R2 64-bit with MSYS configured to run shell build steps. Everything used to be working fine, but something between June 26 [1] and July 9 [2] made my shell build steps not work anymore. The error is that command line programs (like

Re: Shell build steps stopped working

2014-07-16 Thread Daniel Beck
It's very suspicious that between those two builds, you installed the Env-Inject plugin. Disable that and try again. On 16.07.2014, at 09:35, Sebastian Schuberth sschube...@gmail.com wrote: Hi, I'm running Jenkins 1.554.3 LTS on Windows Server 2008 R2 64-bit with MSYS configured to run

Re: Shell build steps stopped working

2014-07-16 Thread Sebastian Schuberth
Thanks Daniel, the EnvInject plugin indeed was the culprit! Two questions then: - Is this a bug in the EnvInject plugin or just some misconfiguration on my side? - How did you find out that I've installed the EnvInject plugin between those builds? Unfortunately the table of installed plugins [1]

Re: Shell build steps stopped working

2014-07-16 Thread Daniel Beck
- Is this a bug in the EnvInject plugin or just some misconfiguration on my side? Could be either, but if you didn't mess with PATH globally, on the node, or in the job, it's likely Env-Inject's fault. You wouldn't be the first one to be affected. - How did you find out that I've installed

Re: Copy files from master to slave

2014-07-16 Thread corneil.duples...@gmail.com
The Copy to Slave plugin uses the Jenkins internal mechanism to transfer files. The SMP/SCP plugins will also help with access shares etc. On 16 July 2014 08:44, Panikera Raj panikera.raj...@gmail.com wrote: Hi Corneil Thanks for you help, Actually I am using cross platform, as I mentioned

Re: Deploy Plugin 1.10 - deploy to Jboss 7.x - Cannot locate the JBoss connector classes

2014-07-16 Thread Michael Nothhard
I have also been trying to deploy to JBoss 7.1.1 using the new version of the Deploy Plugin (1.10). I ran into the same issues I resolved the error you received by coping all the *.jars from JBOSS_HOME/modules to the deploy plugin's WEB-INF/lib directory so that they would be in

Re: Sparse Checkout in GIT

2014-07-16 Thread Mark Waite
I don't understand what you mean by dynamic file. Git does not have a concept of a file kept in one location in the repository and moved to another during checkout, at least not as far as I know. I guess you could copy the file as part of your build script, but there is no way to make that part

Re: Sparse Checkout in GIT

2014-07-16 Thread bandi pavankumar reddy
Hi mark i am trying to clone git repository in Jenkins it's not cloning and displaying time out error give me any suggestion and one more thing my repository is large repository and size is 16GB and very big repository how can i clone in jenkins how to set the build timeout in

Re: Sparse Checkout in GIT

2014-07-16 Thread sai ram
The dynamic file is not associated with the repo. We create a dynamic testng file and refer the test class in that. so the testng file should reside inside the repo. *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On Wed, Jul 16, 2014 at 5:08 PM, Mark Waite mark.earl.wa...@gmail.com

Re: Sparse Checkout in GIT

2014-07-16 Thread Mark Waite
If you create the file yourself, then why not create the file in the directory where you want it? Alternately, why not copy it into the place where you want it with the same program or build step which created the file? On Wed, Jul 16, 2014 at 6:18 AM, sai ram sairam...@gmail.com wrote: The

Re: Sparse Checkout in GIT

2014-07-16 Thread sai ram
We do not have privileges to change the source code of the testng file creation and it. The file is created to the workspace directory on the run time by taking the string parameters from Jenkins. is there any workaround for this ? *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On

Re: Sparse Checkout in GIT

2014-07-16 Thread Mark Waite
You could add a build step to the job which copies the file before the step which performs the build. On Wed, Jul 16, 2014 at 6:38 AM, sai ram sairam...@gmail.com wrote: We do not have privileges to change the source code of the testng file creation and it. The file is created to the

Re: Sparse Checkout in GIT

2014-07-16 Thread sai ram
​Thanks Mark. Will try it. *Kind Regards, * *Sairam * 9884699987 | Skype - vjsairam On Wed, Jul 16, 2014 at 6:19 PM, Mark Waite mark.earl.wa...@gmail.com wrote: You could add a build step to the job which copies the file before the step which performs the build. On Wed, Jul 16, 2014 at

Re: Copy files from master to slave

2014-07-16 Thread Les Mikesell
On Wed, Jul 16, 2014 at 1:44 AM, Panikera Raj panikera.raj...@gmail.com wrote: Hi Corneil Thanks for you help, Actually I am using cross platform, as I mentioned above, If at all I want to use as Build step every time I need to mount directory and copy file to the machine some times mounting

Re: Build fails: problem computing cvs change log

2014-07-16 Thread Gaurav Kumar
How did you find what file was renamed? and did you get any solution to overcome this issue? I am facing the same issue and tried everything I possible could do with no result. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe

Can single Jenkins slave serve multiple Jenkins masters?

2014-07-16 Thread Kevin
Hi, all: I have two Jenkins masters trying to run a test, and that test resides in single computer which is hooked up with test hardware set. My question is: Can I turn that computer (which is connected to test hardware) into a Jenkins slave so that both Jenkins master can run test when

Re: Shell build steps stopped working

2014-07-16 Thread Sebastian Schuberth
On Wed, Jul 16, 2014 at 10:11 AM, Daniel Beck m...@beckweb.net wrote: - Is this a bug in the EnvInject plugin or just some misconfiguration on my side? Could be either, but if you didn't mess with PATH globally, on the node, or in the job, it's likely Env-Inject's fault. You wouldn't be the

Re: Can single Jenkins slave serve multiple Jenkins masters?

2014-07-16 Thread Scott Evans
What you'd need to do is set up multiple agents on the slave node, one agent for each Jenkins master. You would also need to set up independent workspaces for each agent as well. This is assuming that your test hardware can handle more than one job at a time. We do this a lot and it works fine,

Re: Shell build steps stopped working

2014-07-16 Thread Sebastian Schuberth
On Wed, Jul 16, 2014 at 5:53 PM, Sebastian Schuberth sschube...@gmail.com wrote: - Is this a bug in the EnvInject plugin or just some misconfiguration on my side? Could be either, but if you didn't mess with PATH globally, on the node, or in the job, it's likely Env-Inject's fault. You

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread jieryn
I'm not using any slave nodes of any kind. I just want to have a Jenkins job with access to an SSH agent such that it can work with SCM URIs of the type scm:svn:svn+ssh:// without me having to launch the master Jenkins instance via ssh-agent directly in the startup script. This is a RHEL 6.5

Java API to get the view name

2014-07-16 Thread Subashini Unny
Is there a Java API in Jenkins to get the view name for a job? I did see that there is a way to get the list of all views and then the list of items in each view and can check if my job is present in that list but this is not very efficient and also might have performance implications. -- You

RE: Java API to get the view name

2014-07-16 Thread Rob Mandeville
Not likely, as there is no view name for a job. It’s an N:M relationship between jobs and views: a view can have any number of jobs, and a job can have any number of views. I suspect that jobs don’t “know” what view they’re in. --Rob From: jenkinsci-users@googlegroups.com

Re: Can single Jenkins slave serve multiple Jenkins masters?

2014-07-16 Thread Kevin
Hi, Scott: Thanks for the answer! With the first slave running, I setup a different workspace for 2nd slave, and try to launch 2nd slave. It seems work, but when I click File-- Install as a service on this following window: It fails and never returns. All I see is a circle rolling in this

Re: Can single Jenkins slave serve multiple Jenkins masters?

2014-07-16 Thread Kevin
Also, when start 2nd slave, do we suppose to see two Jenkins Slave items on windows service list? Kevin On Wednesday, 16 July 2014 11:55:36 UTC-4, SA Evans wrote: What you'd need to do is set up multiple agents on the slave node, one agent for each Jenkins master. You would also need to

Re: Can single Jenkins slave serve multiple Jenkins masters?

2014-07-16 Thread Scott Evans
Kevin, I don't do my windows slaves by service, I do the java start on them, so I don't know what you'd see/experience if you tried to start more than one as a service. Scott On Wed, Jul 16, 2014 at 2:18 PM, Kevin dong...@gmail.com wrote: Also, when start 2nd slave, do we suppose to see two

Re: Can single Jenkins slave serve multiple Jenkins masters?

2014-07-16 Thread Slide
The wiki has info on running multiple slaves on one machine; see [1]. slide 1 - https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds#Distributedbuilds-RunningMultipleSlavesontheSameMachine On Wed, Jul 16, 2014 at 12:30 PM, Scott Evans milwrd...@gmail.com wrote: Kevin, I don't do

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread Stephen Connolly
On Wednesday, 16 July 2014, jieryn jie...@gmail.com wrote: I'm not using any slave nodes of any kind. I just want to have a Jenkins job with access to an SSH agent such that it can work with SCM URIs of the type scm:svn:svn+ssh:// without me having to launch the master Jenkins instance via

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread Richard Bywater
Is your RHEL6.5 system running as 32-bit or 64-bit? Also what does 'file /lib/libc.so.6' show (I imagine it will show symbolic link so if you then do a file on the resulting link what does that show?) Richard. On Thu, Jul 17, 2014 at 4:45 AM, jieryn jie...@gmail.com wrote: I'm not using any

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread Stephen Connolly
On Wednesday, 16 July 2014, Richard Bywater rich...@byh2o.com wrote: Is your RHEL6.5 system running as 32-bit or 64-bit? Also what does 'file /lib/libc.so.6' show (I imagine it will show symbolic link so if you then do a file on the resulting link what does that show?) I am suspecting it

Jenkins slave builds failing mysteriously

2014-07-16 Thread Sean Last
I am running Jenkins 1.570 on ubuntu 10.04, with the ssh agent plugin 1.4.1, and the ssh slave plugin 1.5. My slave is ubuntu 12.04. Another job is failing without even telling me why, and I think it might be a similar issue, because everything about the build reports success. I have no

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread jieryn
-bash-4.1$ uname -a Linux ci.acme.com 2.6.32-431.21.1.el6.x86_64 #1 SMP Tue Jun 3 19:11:40 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux -bash-4.1$ ls -la /lib/libc.so.6 lrwxrwxrwx. 1 root root 12 Jun 3 09:57 /lib/libc.so.6 - libc-2.12.so -bash-4.1$ ldd /lib/libc.so.6 /lib/ld-linux.so.2

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread Richard Bywater
Ok so looks like you've got the the x86 version of glibc installed on a 64-bit system (which I don't think is a default position). So I guess the question for Stephen was whether he had installed the x86 glibc as well during his testing of CentOS? Richard. On Thu, Jul 17, 2014 at 10:18 AM,

Re: SSH Agent Plugin - UnsatisfiedLinkError

2014-07-16 Thread jieryn
Well... yes, that's true, but I also have the 64-bit version: [root@ci ~]# yum info glibc Installed Packages Name: glibc Arch: i686 Version : 2.12 Release : 1.132.el6_5.2 Size: 13 M Repo: installed From repo : RHEL-65-x86_64-updates Summary : The GNU

Re: Jenkins slave builds failing mysteriously

2014-07-16 Thread Sean Last
Looks like it's the sonatype clm plugin. I disabled that and it works. On Wednesday, July 16, 2014 6:15:57 PM UTC-4, Sean Last wrote: I am running Jenkins 1.570 on ubuntu 10.04, with the ssh agent plugin 1.4.1, and the ssh slave plugin 1.5. My slave is ubuntu 12.04. Another job is

Re: Jenkins new install (win8) fails to display website with HttpParser warning

2014-07-16 Thread Dean Chen
I ran in to a similar issue and was able to load the page using Chrome's incongito mode. Don't know why a simple get request is filling up the parser buffer though. On Saturday, May 31, 2014 4:14:20 AM UTC-7, Patrick van der Velde wrote: Hi all I've tried to run Jenkins both from the