How to have "withDockerServer" for all jobs run on a given node?

2016-10-15 Thread Eric Smalling
Just now jumping into playing with Jenkinsfile + Docker and am finding 
myself having to put withDockerServer([credentialsId: '...', uri: 
'tcp://...:2376'])  around all of my pipelines to point my slave node at my 
Docker host.

Is there a good way to set up DOCKER_HOST and credentials on a slave so 
that all jobs run there will use it?  My host is tls verified so the ca, 
cert and key need to be used and I'd like to continue to use the 
credentialsId method that withDockerServer() does if possible.

... and to add a wrinkle to this, I'm using Docker container based slaves 
(using an image I built 
here: https://hub.docker.com/r/ericsmalling/jenkins-slave-docker/ )

Thanks for any advice.

-Eric S

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/965e4598-d30c-412e-946f-3fb5e47c49e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: selenium Jenkins integration issues

2016-03-15 Thread Eric Smalling
Can you post the contents of your .bat file?  (If it's large, a 
gist.github.com post would be nice)

On Tuesday, March 15, 2016 at 5:10:42 AM UTC-5, Kancharla Prasad wrote:
>
> Hi All,
>
> I am new to Jenkins, I configured jenkins with testng (my selenium 
> project).
>
> When i build the project getting this:
>
> ===
> Suite
> Total tests run: 6, Failures: 0, Skips: 6
> Configuration Failures: 1, Skips: 1
> ===
>
> Build step 'Execute Windows batch command' marked build as failure
> Finished: FAILURE
>
> _
>
>
> This means, atleast jenkins is able to get my project details to execute.
>
>
> When i run my bat file manually, it launches the browser but fails to 
> navigate to application URL.
>
>
> any suggestions please, how to fix this issue.
>
>
> Thanks,
>
> L V Prasad. K
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/9105f43d-91d8-4d90-8988-411b4c8ca6ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins 2.0 alpha release available

2016-03-01 Thread Eric Smalling
Has anyone posted a Docker Hub image yet?  (I see several "jenkins2" named 
ones out there, but the dates on them lead me to believe they are not this.)


On Monday, February 29, 2016 at 5:39:22 PM UTC-6, R Tyler Croy wrote:
>
> As I mention in this blog post: 
> https://jenkins-ci.org/blog/2016/02/29/jenkins2-alphas/ 
>
> The first Jenkins 2.0 alpha downloads are available (yay!). You can read 
> more 
> about it on the 2.0 landing page (https://jenkins-ci.org/2.0/), which 
> also 
> includes the links the download various native packages of the 2.0 alpha. 
>
>
> I'm going to be linking to this thread from the page and blog post for 
> feedback, so by all means, download it and play around with it! 
>
>
> Cheers 
> - R. Tyler Croy 
>
> -- 
>  Code:  
>   Chatter:  
>
>   % gpg --keyserver keys.gnupg.net --recv-key 3F51E16F 
> -- 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ac966b8d-640b-4278-a8d5-115ef7c77baa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Remote Build Wall Display

2014-08-14 Thread Eric Smalling
A while back, due to some special project chaining, we wrote our own Django 
based radiator - not the most elegant code but it does provide a server 
that hosts the display, it uses the JSON API's to gather the build info and 
then renders the page.  It would probably be trivial to make it 
authenticate to the Jenkins server.  You'd then run it on a spare machine 
in your network, point your TV's browser at it.

Project is here: https://github.com/offbytwo/jenkins-radiator

-- 
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: Findbugs plugin: reports missing from post-build mvn run

2014-08-12 Thread Eric Smalling
Yeah - that's what I ended up doing for now, but you lose some of the Maven 
project goodness by doing that (auto SNAPSHOT build triggering, for one).   
I noticed, when I did it, that the Findbugs configuration moves from being 
a Build Settings config in a Maven project to a Post-Build Action in a 
freestyle one.   My question here is, why as a Maven project build setting, 
it's not active during the mvn pre or post steps?

On Tuesday, 12 August 2014 05:09:24 UTC-5, Ullrich Hafner wrote:

 Did you try to use a freestyle project?

 Am Freitag, 8. August 2014 schrieb Eric Smalling :

 I'm trying to find a workaround for 
 https://issues.jenkins-ci.org/browse/JENKINS-22252?focusedCommentId=207405#comment-207405

 I've found that using Maven 3.1.1 works but I don't want to lose some of 
 the functionality in 3.2.1 so I'm trying to do my main build with 3.2.1 and 
 then run findbugs:findbugs in a post-build Maven step.  The findbugs plugin 
 works and drops the xml file into target just fine but the Findbugs plugin 
 doesn't seem to see it or even log anything about it.  

 Does the plugin only activate during the main build step or is there some 
 other trick to getting it to work with a post-build maven step?

 Thanks!
 Eric S.

 -- 
 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: Findbugs plugin: reports missing from post-build mvn run

2014-08-08 Thread Eric Smalling
Clarification to my post: the post-build mvn findbugs:findbugs step is 
using Maven 3.1.1 while the main build is 3.2.1 (probably obvious - but 
wanted to be clear why it's a post step)

On Friday, 8 August 2014 11:17:11 UTC-5, Eric Smalling wrote:

 I'm trying to find a workaround for 
 https://issues.jenkins-ci.org/browse/JENKINS-22252?focusedCommentId=207405#comment-207405

 I've found that using Maven 3.1.1 works but I don't want to lose some of 
 the functionality in 3.2.1 so I'm trying to do my main build with 3.2.1 and 
 then run findbugs:findbugs in a post-build Maven step.  The findbugs plugin 
 works and drops the xml file into target just fine but the Findbugs plugin 
 doesn't seem to see it or even log anything about it.  

 Does the plugin only activate during the main build step or is there some 
 other trick to getting it to work with a post-build maven step?

 Thanks!
 Eric S.


-- 
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.