Re: Jenkins with stash

2014-09-12 Thread Benjamin Lau
Just like any other git repository. If you're in the stash web ui
click on clone and get the appropriate URL. If you're using things
with ssh you'll need to generate an ssh key pair for your jenkins
server to use to access the repositories. I'm not sure how
configuration works for https since I've never done it.

See the stash docs about using ssh keys to access:
https://confluence.atlassian.com/display/STASH/Using+SSH+keys+to+secure+Git+operations

This might also help:
http://stackoverflow.com/questions/11848965/git-clone-ssh-under-jenkins

On Thu, Sep 11, 2014 at 10:39 PM,  srinivas...@digital-nirvana.com wrote:
 Hello guys,

 how to connect to stash git repositories by using jenkins.

 Regards,
 Srinivasulu.

 --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


hetro-list in jelly

2014-09-12 Thread Dhilip Kumar
Hi,

Im new to jenkins plug in development. could you please help me to create 
htro-list in config.jelly. is there any reference more useful.

Thanks,
Dhilip

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins with stash

2014-09-12 Thread David Karlsen
You might also want to use this stash plugin to be able to push jenkins
jobs on changes, rather than polling the stash repo at regular intervals:
https://marketplace.atlassian.com/plugins/com.nerdwin15.stash-stash-webhook-jenkins

2014-09-12 8:39 GMT+02:00 Benjamin Lau benjamin.a@gmail.com:

 Just like any other git repository. If you're in the stash web ui
 click on clone and get the appropriate URL. If you're using things
 with ssh you'll need to generate an ssh key pair for your jenkins
 server to use to access the repositories. I'm not sure how
 configuration works for https since I've never done it.

 See the stash docs about using ssh keys to access:

 https://confluence.atlassian.com/display/STASH/Using+SSH+keys+to+secure+Git+operations

 This might also help:
 http://stackoverflow.com/questions/11848965/git-clone-ssh-under-jenkins

 On Thu, Sep 11, 2014 at 10:39 PM,  srinivas...@digital-nirvana.com
 wrote:
  Hello guys,
 
  how to connect to stash git repositories by using jenkins.
 
  Regards,
  Srinivasulu.
 
  --
  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 an
  email to jenkinsci-users+unsubscr...@googlegroups.com.
  For more options, visit https://groups.google.com/d/optout.

 --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Let Build Flow Plugin pass all parent parameters

2014-09-12 Thread Eric Engel
Hello Jenkins Users,

I am using the Build Flow Plugin 
https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin and want to start 
a build using all paramters of the parent job stored at the pre-defined params 
variable.
At the plugin page the following example for a single parameter is given:

build(job1, parent_param1: params[param1])

what I want is kind of:

build(job1, $parameterName:params[$parameterName])

So that all values in params are passed to the new job. From the plugin 
description it is not clear if this can be done without explicitly writing down 
all parameters. It would be great if this is possible, because there may be 
changes in parameters I do not want to adjust manually every time.

Regards,
Eric

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Let Build Flow Plugin pass all parent parameters

2014-09-12 Thread James Nord (jnord)
Hi Eric,

You can just pass a map and all the parameters of the flow are defined in a 
variable params
build(params, jobname)

/James


 -Original Message-
 From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-
 us...@googlegroups.com] On Behalf Of Eric Engel
 Sent: 12 September 2014 10:53
 To: 'jenkinsci-users@googlegroups.com'
 Subject: Let Build Flow Plugin pass all parent parameters
 
 Hello Jenkins Users,
 
 I am using the Build Flow Plugin https://wiki.jenkins-
 ci.org/display/JENKINS/Build+Flow+Plugin and want to start a build using all
 paramters of the parent job stored at the pre-defined params variable.
 At the plugin page the following example for a single parameter is given:
 
 build(job1, parent_param1: params[param1])
 
 what I want is kind of:
 
 build(job1, $parameterName:params[$parameterName])
 
 So that all values in params are passed to the new job. From the plugin
 description it is not clear if this can be done without explicitly writing 
 down all
 parameters. It would be great if this is possible, because there may be
 changes in parameters I do not want to adjust manually every time.
 
 Regards,
 Eric
 
 --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Swing UI tests on Linux Slaves

2014-09-12 Thread Laurent Malvert
Hello,

I was wondering if there are any recommendations or best practices on a
typical setup for running jobs on a Linux slave, when said job contains
some unit tests that require access to the GUI?

I'd be in favor or keeping these to a minimum, but at the moment we're
trying to move our slaves away from Windows nodes (started using the JNLP
launcher) to Linux nodes (started over SSH) because of too many issues
using the Windows slaves (rather large workspaces with file locking issues
when attempting to delete them, etc...). This is working fine so far,
except that all our GUI tests are failing as currently our linux slaves are
headless. There's a graphical environment installed, but when the SSH slave
plugin initiates the connection it opens a normal SSH connection without
exporting the display and it doesn't have control of the node's display.

So, what would be the proper way to run GUI tests on Linux nodes started
using the SSH Slaves Plugin?

Thanks in advance for your suggestions.

-- 
Laurent Malvert

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins and TFS

2014-09-12 Thread funeeldy11
Is there a plugin for jenkins that monitors tfs tasks?  I would like a 
build of source code in clearcase to be triggered by completion of a task 
in TFS.


-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins/GitHub integration

2014-09-12 Thread Mike Seda

Hi All,
I am a Systems Administrator who was recently asked to perform a 
Jenkins/GitHub integration.


The requirements are...

1) When a GitHub pull request is made, start a Jenkins build.
2) Tell GitHub through the APIs that a Jenkins build is running.
3) When the Jenkins build finishes, inform GitHub that the Jenkins build 
succeeded/failed.
4) Update the GitHub pull request with a comment containing the URL of 
the webapp built for the branch after having deployed it.


I am being told by my internal Developers that Requirement # 1 involves 
exposing my Jenkins server to the 1000+ GitHub IPs [as documented below]:

https://help.github.com/articles/what-ip-addresses-does-github-use-that-i-should-whitelist

The most secure of the two options [HTTPS with HTTP Basic Auth] 
presented at the above link has me confused though... Where do we 
configure the username and password for the HTTPS with HTTP Basic Auth 
in GitHub? I know how to configure it on my end, but how do I tell 
GitHub about it - so that the GitHub POST to my Jenkins server will 
actually succeed?


Also, is there any way to meet the above requirements without exposing 
my Jenkins server to GitHub?


Please let me know how most folks meet the aforementioned requirements - 
as I am told that this is already a solved problem for many shops.


BTW, we are pretty certain that we will need the following plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Github+pull+request+builder+plugin

However, I am not quite sure how to leverage it at the moment.

Please advise.

Thanks,
Mike

--
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


calendar parameters in jenkins

2014-09-12 Thread benoit . rousselle
hi, 

I have .bat or .sh to build with parameter (like test.bat 12/09/2014). Is 
it possible to have a calendar parameter when you declare a new job ? 
Until now I have a text field, to insert my date but I can make mistake 
when I write the date. So, If I could click on a calendar it would be 
better ?

any idea ?
thanks,
BenR

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Windows nodes flapping after upgrade to 1.565.2

2014-09-12 Thread Dan Zieber
Hi All,

I upgraded to LTS 1.565.2 from 1.554.2.  After I restarted Jenkins all of 
my windows nodes started flapping up then down then up etc.  I'm starting 
the nodes as a service on each node.  I tried to shutdown the nodes, 
restart jenkins, then restart the nodes but the problem persisted.  Has 
anyone seen this error?  I'd appreciate any advice, can dump logs etc. that 
might be relevant (but I'm not sure which ones are).

Thank you,
-Dan

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Swing UI tests on Linux Slaves

2014-09-12 Thread Chanda Unmack
On Fri, Sep 12, 2014 at 4:27 AM, Laurent Malvert laurent.malv...@gmail.com
wrote:

 Hello,

 I was wondering if there are any recommendations or best practices on a
 typical setup for running jobs on a Linux slave, when said job contains
 some unit tests that require access to the GUI?

 I'd be in favor or keeping these to a minimum, but at the moment we're
 trying to move our slaves away from Windows nodes (started using the JNLP
 launcher) to Linux nodes (started over SSH) because of too many issues
 using the Windows slaves (rather large workspaces with file locking issues
 when attempting to delete them, etc...). This is working fine so far,
 except that all our GUI tests are failing as currently our linux slaves are
 headless. There's a graphical environment installed, but when the SSH slave
 plugin initiates the connection it opens a normal SSH connection without
 exporting the display and it doesn't have control of the node's display.

 So, what would be the proper way to run GUI tests on Linux nodes started
 using the SSH Slaves Plugin?

 Thanks in advance for your suggestions.

 --
 Laurent Malvert

  --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout .


Don't know about proper or best practices, but I've used xvfb (sometimes
with selenium) in several places. It hasn't been all smooth sailing, but
it's been reliable enough for our purposes.

ymmv
chanda

-- 
*C**onfidentiality Notice:* This e-mail, including all attachments, is
confidential information of Lytro, Inc. If the reader of this e-mail is not
the intended recipient or its authorized agent, the reader is hereby
notified that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Windows nodes flapping after upgrade to 1.565.2

2014-09-12 Thread Daniel Beck
Did you update the slave.jars on these nodes? Install VersionColumn Plugin, 
then go to /computer to check whether they're up to date.

On 12.09.2014, at 18:38, Dan Zieber dzie...@evernote.com wrote:

 Hi All,
 
 I upgraded to LTS 1.565.2 from 1.554.2.  After I restarted Jenkins all of my 
 windows nodes started flapping up then down then up etc.  I'm starting the 
 nodes as a service on each node.  I tried to shutdown the nodes, restart 
 jenkins, then restart the nodes but the problem persisted.  Has anyone seen 
 this error?  I'd appreciate any advice, can dump logs etc. that might be 
 relevant (but I'm not sure which ones are).
 
 Thank you,
 -Dan
 
 -- 
 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 an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Windows nodes flapping after upgrade to 1.565.2

2014-09-12 Thread Dan Zieber
Thank you, that is exactly it.  If anyone is interested, here are some 
relevant links I found after Daniel's comment:
https://issues.jenkins-ci.org/browse/JENKINS-16490
http://jenkins-ci.org/content/your-java-web-start-slaves-will-be-always-clean

On Friday, September 12, 2014 9:44:27 AM UTC-7, Daniel Beck wrote:

 Did you update the slave.jars on these nodes? Install VersionColumn 
 Plugin, then go to /computer to check whether they're up to date. 

 On 12.09.2014, at 18:38, Dan Zieber dzi...@evernote.com javascript: 
 wrote: 

  Hi All, 
  
  I upgraded to LTS 1.565.2 from 1.554.2.  After I restarted Jenkins all 
 of my windows nodes started flapping up then down then up etc.  I'm 
 starting the nodes as a service on each node.  I tried to shutdown the 
 nodes, restart jenkins, then restart the nodes but the problem persisted. 
  Has anyone seen this error?  I'd appreciate any advice, can dump logs etc. 
 that might be relevant (but I'm not sure which ones are). 
  
  Thank you, 
  -Dan 
  
  -- 
  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 
 an email to jenkinsci-use...@googlegroups.com javascript:. 
  For more options, visit https://groups.google.com/d/optout. 



-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: hetro-list in jelly

2014-09-12 Thread Ulli Hafner
You might get more answers in the dev list…

Am 12.09.2014 um 09:26 schrieb Dhilip Kumar dhilipmcaku...@gmail.com:

 Hi,
 
 Im new to jenkins plug in development. could you please help me to create 
 htro-list in config.jelly. is there any reference more useful.
 
 Thanks,
 Dhilip
 
 -- 
 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 an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



signature.asc
Description: Message signed with OpenPGP using GPGMail


Prevent Jenkins from deleting temp shell script for job

2014-09-12 Thread Nick Dierauf
Hello,

I am getting the following error while attempting to execute my Jenkins (v 
1.577) job:

[workspace] $ 
/home/administrator/Hudson/instances/Albatross/tomcat-8092-8022/temp/hudson8884100134029098059.js
FATAL: command execution failedjava.io.IOException 
http://stacktrace.jenkins-ci.org/search?query=java.io.IOException: Cannot run 
program 
/home/administrator/Hudson/instances/Albatross/tomcat-8092-8022/temp/hudson8884100134029098059.js
 (in directory 
/home/administrator/Hudson/instances/Albatross/.hudson/jobs/aMart/workspace): 
java.io.IOException: error=13, Permission denied

Apparently Jenkins creates this temporary file and contains instructions 
about executing the job. I would like to inspect the contents of this file 
however it seems that Jenkins immediately removes this file upon completion 
of the job. Is there any way to prevent Jenkins from deleting this temp 
file?

I've searched around the forums but did not find an answer. 

Thank you,
Nick.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Copy files from multiple downstream jobs

2014-09-12 Thread anthony
I researched this years ago and couldn't find a viable solution. Rather 
than pulling artifacts from downstream jobs I opted to push them by 
specifying a parameter with the output directory path. In my case, the 
jobs are all building with Ant. The parent job would build, then call on 
the other jobs with the parameter $OUTPUT_DIR=$WORKSPACE/some_directory. 
The child jobs would run, passing the parameter to Ant. These in turn 
would save their artifacts in the parent job. Once all child jobs were 
complete the parent would continue final processing then artifact 
everything in $WORKSPACE/some_directory.


The downside to this is all child jobs must run on the same node. Hope 
this helps!


On 2014-09-09 04:23, Omer Weissman wrote:

Hello,

We are trying to copy files from multiple downstream jobs back to the
main job.
The main job triggers the builds using a parametrized trigger invoke
i=0...N builds
We are doing it inorder to achieve parallelization of a long task.

I could not find a way to copy files back, as the copy artifacts
plugin does not recognize all the jobs , but only the last one.
the copy behavior I am trying to achieve is similar to the way
parallel test executor plugin copy the specified files back to the
main job.

Is there a way to do it ? did I miss something in the copy artifacts
plugin ?

Thanks,
Omer

 --
 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 an email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout [1].


Links:
--
[1] https://groups.google.com/d/optout


--
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cloud Connectivity with Private Network

2014-09-12 Thread طلال Anthony-Peter-Thomas رابعة
SSH reverse tunnel?

 On Sep 10, 2014, at 9:22 AM, Sajith Balakrishnan 
 sajith.balakrish...@gmail.com wrote:
 
 Hi All
 
 We have a private network. However our applications / build servers(slaves) 
 are hosted on a Cloud.
 
 We are trying to Orchestrate the build / testing process Using Jenkins which 
 has to reside on the Private Network.
 
 The issue is that the from the Private Network; we are unable to establish 
 connectivity to the cloud servers even though a PROXY server.
 
 Has anyone tried establish such a connectivity or Orchestration? If so could 
 you please let me know how to achieve the connectivity with minimal or zero 
 network changes (No Outside world access to be provided)
 
 
 Regards,
 Sajith
 -- 
 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 an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Swing UI tests on Linux Slaves

2014-09-12 Thread طلال Anthony-Peter-Thomas رابعة
Same here, Xvfb works great. I believe there's a plugin to instantiate a new 
instance of Xvfb with each build but I haven't used it. I run a single instance 
of Xvfb on each slave because our tests can't be run in parallel. 

 On Sep 12, 2014, at 12:39 PM, Chanda Unmack cha...@lytro.com wrote:
 
 
 
 On Fri, Sep 12, 2014 at 4:27 AM, Laurent Malvert laurent.malv...@gmail.com 
 wrote:
 Hello,
 
 I was wondering if there are any recommendations or best practices on a 
 typical setup for running jobs on a Linux slave, when said job contains some 
 unit tests that require access to the GUI?
 
 I'd be in favor or keeping these to a minimum, but at the moment we're 
 trying to move our slaves away from Windows nodes (started using the JNLP 
 launcher) to Linux nodes (started over SSH) because of too many issues using 
 the Windows slaves (rather large workspaces with file locking issues when 
 attempting to delete them, etc...). This is working fine so far, except that 
 all our GUI tests are failing as currently our linux slaves are headless. 
 There's a graphical environment installed, but when the SSH slave plugin 
 initiates the connection it opens a normal SSH connection without exporting 
 the display and it doesn't have control of the node's display.
 
 So, what would be the proper way to run GUI tests on Linux nodes started 
 using the SSH Slaves Plugin?
 
 Thanks in advance for your suggestions.
 
 -- 
 Laurent Malvert
 
 -- 
 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 an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout .
 
 Don't know about proper or best practices, but I've used xvfb (sometimes with 
 selenium) in several places. It hasn't been all smooth sailing, but it's been 
 reliable enough for our purposes.
 
 ymmv
 chanda
 
 -- 
 Confidentiality Notice: This e-mail, including all attachments, is 
 confidential information of Lytro, Inc. If the reader of this e-mail is not 
 the intended recipient or its authorized agent, the reader is hereby notified 
 that any dissemination, distribution or copying of this e-mail is prohibited. 
 If you have received this e-mail in error, please notify the sender by 
 replying to this message and delete this e-mail immediately.
 -- 
 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 an 
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Swing UI tests on Linux Slaves

2014-09-12 Thread Mark Waite
I used the Xvnc plugin with very good results on a Debian configuration a
year or two ago and was very pleased with its results.  It started and
stopped VNC sessions as needed for each individual job and reduced the
management overhead significantly for me.

Mark Waite

On Fri, Sep 12, 2014 at 3:34 PM, طلال Anthony-Peter-Thomas رابعة 
anth...@rabaa.ca wrote:

 Same here, Xvfb works great. I believe there's a plugin to instantiate a
 new instance of Xvfb with each build but I haven't used it. I run a single
 instance of Xvfb on each slave because our tests can't be run in parallel.

 On Sep 12, 2014, at 12:39 PM, Chanda Unmack cha...@lytro.com wrote:



 On Fri, Sep 12, 2014 at 4:27 AM, Laurent Malvert 
 laurent.malv...@gmail.com wrote:

 Hello,

 I was wondering if there are any recommendations or best practices on a
 typical setup for running jobs on a Linux slave, when said job contains
 some unit tests that require access to the GUI?

 I'd be in favor or keeping these to a minimum, but at the moment we're
 trying to move our slaves away from Windows nodes (started using the JNLP
 launcher) to Linux nodes (started over SSH) because of too many issues
 using the Windows slaves (rather large workspaces with file locking issues
 when attempting to delete them, etc...). This is working fine so far,
 except that all our GUI tests are failing as currently our linux slaves are
 headless. There's a graphical environment installed, but when the SSH slave
 plugin initiates the connection it opens a normal SSH connection without
 exporting the display and it doesn't have control of the node's display.

 So, what would be the proper way to run GUI tests on Linux nodes started
 using the SSH Slaves Plugin?

 Thanks in advance for your suggestions.

 --
 Laurent Malvert

  --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout .


 Don't know about proper or best practices, but I've used xvfb (sometimes
 with selenium) in several places. It hasn't been all smooth sailing, but
 it's been reliable enough for our purposes.

 ymmv
 chanda

 --
 *C**onfidentiality Notice:* This e-mail, including all attachments, is
 confidential information of Lytro, Inc. If the reader of this e-mail is not
 the intended recipient or its authorized agent, the reader is hereby
 notified that any dissemination, distribution or copying of this e-mail is
 prohibited. If you have received this e-mail in error, please notify the
 sender by replying to this message and delete this e-mail immediately.

 --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

  --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
Thanks!
Mark Waite

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Copy files from multiple downstream jobs

2014-09-12 Thread Les Mikesell
On Tue, Sep 9, 2014 at 3:23 AM, Omer Weissman weiss...@gmail.com wrote:

 Hello,

 We are trying to copy files from multiple downstream jobs back to the main
 job.
 The main job triggers the builds using a parametrized trigger invoke
 i=0...N builds
 We are doing it inorder to achieve parallelization of a long task.

 I could not find a way to copy files back, as the copy artifacts plugin does
 not recognize all the jobs , but only the last one.
 the copy behavior I am trying to achieve is similar to the way parallel
 test executor plugin copy the specified files back to the main job.

 Is there a way to do it ? did I miss something in the copy artifacts plugin
 ?

Are these things that the downstream jobs have specified to 'archive
the artifacts'?  If so,  you should have access to however many builds
the job is configured to keep (and you could grab them from the server
through the rest interface if you wanted instead).  If you are trying
to pull from the build node workspace, only the last one (if that)
would be present.

-- 
   Les Mikesell
 lesmikes...@gmail.com

-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Swing UI tests on Linux Slaves

2014-09-12 Thread Laurent Malvert
It's indeed the 2 options I came across. Great to know there are plugins to
ease the setup.

Thanks a lot all, I'll look into it.
On Sep 12, 2014 11:56 PM, Mark Waite mark.earl.wa...@gmail.com wrote:

 I used the Xvnc plugin with very good results on a Debian configuration a
 year or two ago and was very pleased with its results.  It started and
 stopped VNC sessions as needed for each individual job and reduced the
 management overhead significantly for me.

 Mark Waite

 On Fri, Sep 12, 2014 at 3:34 PM, طلال Anthony-Peter-Thomas رابعة 
 anth...@rabaa.ca wrote:

 Same here, Xvfb works great. I believe there's a plugin to instantiate a
 new instance of Xvfb with each build but I haven't used it. I run a single
 instance of Xvfb on each slave because our tests can't be run in parallel.

 On Sep 12, 2014, at 12:39 PM, Chanda Unmack cha...@lytro.com wrote:



 On Fri, Sep 12, 2014 at 4:27 AM, Laurent Malvert 
 laurent.malv...@gmail.com wrote:

 Hello,

 I was wondering if there are any recommendations or best practices on a
 typical setup for running jobs on a Linux slave, when said job contains
 some unit tests that require access to the GUI?

 I'd be in favor or keeping these to a minimum, but at the moment we're
 trying to move our slaves away from Windows nodes (started using the JNLP
 launcher) to Linux nodes (started over SSH) because of too many issues
 using the Windows slaves (rather large workspaces with file locking issues
 when attempting to delete them, etc...). This is working fine so far,
 except that all our GUI tests are failing as currently our linux slaves are
 headless. There's a graphical environment installed, but when the SSH slave
 plugin initiates the connection it opens a normal SSH connection without
 exporting the display and it doesn't have control of the node's display.

 So, what would be the proper way to run GUI tests on Linux nodes started
 using the SSH Slaves Plugin?

 Thanks in advance for your suggestions.

 --
 Laurent Malvert

  --
 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
 an email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout .


 Don't know about proper or best practices, but I've used xvfb (sometimes
 with selenium) in several places. It hasn't been all smooth sailing, but
 it's been reliable enough for our purposes.

 ymmv
 chanda

 --
 *C**onfidentiality Notice:* This e-mail, including all attachments, is
 confidential information of Lytro, Inc. If the reader of this e-mail is not
 the intended recipient or its authorized agent, the reader is hereby
 notified that any dissemination, distribution or copying of this e-mail is
 prohibited. If you have received this e-mail in error, please notify the
 sender by replying to this message and delete this e-mail immediately.

 --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

  --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




 --
 Thanks!
 Mark Waite

 --
 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 an
 email to jenkinsci-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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 an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.