Re: Jenkins + Tomcat + SSL

2014-09-05 Thread Jeff
Nevermind...forgot about the URL setting in the Jenkins config...:( On Fri, Sep 5, 2014 at 5:38 PM, Jeff wrote: > I use the Jenkins WAR on tomcat 7. > > I recently configured my tomcat to run on port 443 and disabled port 8080. > The server comes up and jenkins responds, but all the "Jobs" lin

Jenkins + Tomcat + SSL

2014-09-05 Thread Jeff
I use the Jenkins WAR on tomcat 7. I recently configured my tomcat to run on port 443 and disabled port 8080. The server comes up and jenkins responds, but all the "Jobs" links point back to the "http" url instead of "https" and won't work. Is this a bug or did I miss something in configuring Je

RE: First Maven project

2014-09-05 Thread Ginga, Dick
Dan, can' thank you enough. Got it fixed! -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Daniel Beck Sent: Friday, September 05, 2014 2:31 PM To: jenkinsci-users@googlegroups.com Subject: Re: First Maven project The Jenkin

Re: First Maven project

2014-09-05 Thread Daniel Beck
The Jenkins Windows installer comes with Java: > java.home C:\Program Files (x86)\Jenkins\jre Should be configurable in jenkins.xml, or maybe try installing Java 7 into that directory. On 05.09.2014, at 20:18, Ginga, Dick wrote: > Ah, that is 1.6.0_26-b03. I must be the most unaware perso

RE: First Maven project

2014-09-05 Thread Ginga, Dick
Ah, that is 1.6.0_26-b03. I must be the most unaware person about Java around. I have never programmed in it or used it. so... I have installed java 1.7.0 and my production Jenkins says it's using 1.7.0 but my test machine still says: java.awt.graphicsenvsun.awt.Win32GraphicsEnvironment jav

Re: active jobs by node

2014-09-05 Thread Marcus Müller
Cool, I'm fine with XML. Thanks a lot. Marcus > Am 05.09.2014 um 18:36 schrieb Daniel Beck : > > There is no CLI command for this in core. > > For the XML/JSON APIs, the following works: > /computer/XYZ/api/xml?tree=executors[currentExecutable[*]] > >> On 05.09.2014, at 17:30, mail4m.muel...

Re: First Maven project

2014-09-05 Thread Daniel Beck
Is that the JRE used for Jenkins? Check java.runtime.version on the /systemInfo URL of Jenkins. On 05.09.2014, at 19:14, Ginga, Dick wrote: > Running on 7: > > C:\Users\DGinga>java -version > java version "1.7.0_51" > Java(TM) SE Runtime Environment (build 1.7.0_51-b13) > Java HotSpot(TM) Clie

RE: First Maven project

2014-09-05 Thread Ginga, Dick
Running on 7: C:\Users\DGinga>java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing) -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] O

Re: First Maven project

2014-09-05 Thread Daniel Beck
Try running Jenkins on Java 7. On 05.09.2014, at 18:52, Ginga, Dick wrote: > Dan thanks much for the info. I figured out how to load an hpi file and I did > so on my Test Jenkins. So with 2.0.4 I encountered > java.lang.UnsupportedOperationException: Failed to link the library: > interface hu

RE: First Maven project

2014-09-05 Thread Ginga, Dick
Dan thanks much for the info. I figured out how to load an hpi file and I did so on my Test Jenkins. So with 2.0.4 I encountered java.lang.UnsupportedOperationException: Failed to link the library: interface hudson.util.jna.Kernel32. this is expected based on what you said below. Not realty wan

Re: active jobs by node

2014-09-05 Thread Daniel Beck
There is no CLI command for this in core. For the XML/JSON APIs, the following works: /computer/XYZ/api/xml?tree=executors[currentExecutable[*]] On 05.09.2014, at 17:30, mail4m.muel...@googlemail.com wrote: > Dear Contributors, devs and users, > > I'm having problems to find a proper solution f

Re: First Maven project

2014-09-05 Thread Daniel Beck
JENKINS-18677 affected 1.522-1.526, so either downgrade to Jenkins 1.521, upgrade to 1.527, or update Maven Plugin to 1.524. Until Maven Plugin 2.0 (in Jenkins 1.535), Maven Plugin was bundled with Jenkins with a corresponding version. Make sure Maven Project plugin isn't 'Pinned' in the Install

Hide build parameter inputs based on value of another input

2014-09-05 Thread Mark Petrovic
I have two build parameters, one a boolean and the other is any other type of parameter. The boolean field is named B and the other field is named O. Is there an idiomatic way to hide O if B is not checked? The goal is to disallow showing O if B has not enabled it. This would simplify the job

RE: First Maven project

2014-09-05 Thread Ginga, Dick
Well, I have found the 2.0.4 version and downloaded it's .hpi file. Now how do I install it? Thanks From: Ginga, Dick Sent: Friday, September 05, 2014 10:18 AM To: jenkinsci-users@googlegroups.com Subject: First Maven project I just tried to create my first Maven2/3 project and immediately hit

active jobs by node

2014-09-05 Thread mail4m . mueller
Dear Contributors, devs and users, I'm having problems to find a proper solution for getting a list of all active jobs by node. Through api I get lists of all slaves, and somerwhere else I get a list of all jobs being build right at the moment. But my feeling tells me, that there also must be a

RE: Jenkins resource usage

2014-09-05 Thread Paulo Matos
> -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Shane Turner > Sent: 05 September 2014 16:01 > To: jenkinsci-users@googlegroups.com > Subject: Re: Jenkins resource usage > > On 05/09/2014 11:15 AM, Paulo Matos wrote:

RE: Jenkins resource usage

2014-09-05 Thread Paulo Matos
> -Original Message- > From: jenkinsci-users@googlegroups.com [mailto:jenkinsci- > us...@googlegroups.com] On Behalf Of Shane Turner > Sent: 05 September 2014 16:01 > To: jenkinsci-users@googlegroups.com > Subject: Re: Jenkins resource usage > > On 05/09/2014 11:15 AM, Paulo Matos wrote:

Re: Jenkins resource usage

2014-09-05 Thread Shane Turner
On 05/09/2014 11:15 AM, Paulo Matos wrote: Hi, Running Jenkins 1.565.1 here, and during a git fetch of new job I notice the web ui getting sluggish so I open htop and see what's attached. It's slightly worrying that each java instance is allocating 10.2Gb for a starters but more than that, why

Re: How to get the artefacts version number into the email notification subject line?

2014-09-05 Thread Slide
You could just use ${MVN_RELEASE_VERSION} and it should work. If not, you would need ${ENV var="MVN_RELEASE_VERSION"} On Sep 5, 2014 7:19 AM, wrote: > Thank you for your answer. But for me it hasn't worked. Did you have > success? > Kind regards! > > Am Samstag, 16. August 2014 18:04:34 UTC+2 sch

Re: How to get the artefacts version number into the email notification subject line?

2014-09-05 Thread andreas . wirooks
Thank you for your answer. But for me it hasn't worked. Did you have success? Kind regards! Am Samstag, 16. August 2014 18:04:34 UTC+2 schrieb Mark Eggers: > > To expand on what Bertram wrote: > > It appears that the Jenkins Maven release plugin sets a few parameters: > > MVN_RELEASE_VERSION >

First Maven project

2014-09-05 Thread Ginga, Dick
I just tried to create my first Maven2/3 project and immediately hit just creating the job: Stack trace javax.servlet.ServletException: java.lang.NoSuchFieldError: triggers at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:726) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:777)

Environment variables in Parametrized trigger

2014-09-05 Thread Paulo Matos
Hi, I want to pass a parameter whose value I have in an environment variable after running a shell script. This came up due to: https://issues.jenkins-ci.org/browse/JENKINS-24598 How can I set it up so that I have in my shell script: bash -x $WORKSPACE/rallng/scripts/jenkins/rall.sh $WORKSPACE |

"Log out" button with reverse-proxy authentication

2014-09-05 Thread Marek Szuba
Dear everyone, Is it possible to have Jenkins still display a "log out" button when reverse-proxy authentication is enabled? What I would like to achieve is to allow users to log out of our single sign-on system (to which we log in thanks to Shibboleth and mod_shib for Apache, hence the use of RPA