Project base security - java.lang.RuntimeException: Header>6144

2014-07-28 Thread dennys
I use Jenkins 1.554.3 and project based security 1.2. I found if I grant a project to a LDAP group A, but group A doesn't have global read permission, then when a user has group A privilege login, he will get an empty screen and I'll see the error log in console. But when I add group A into glo

Re: Accessing Build Status and Number from Groovy Script

2014-07-28 Thread Slide
In the groovy template you have full access to the Jenkins object model, but there is also a build object that is available to the script automatically that is the instance of the build (normally inherits from AbstractBuild) that you can use to get access to the information you are looking for. You

Accessing Build Status and Number from Groovy Script

2014-07-28 Thread Jarvis
I have a Groovy script that runs whenever I do a build (it is an email template) and I was wondering if it is *possible to pass the current Build number and status to the script*. Using the Email-ext plugin I call the script with the {$SCRIPT, "template=test"} to include the output of the scrip

Any upper limit on slaves?

2014-07-28 Thread Maureen Barger
Hi - I am wondering if there is a limit to how many slaves can connect to one master. -- 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..

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Hansen Loke
I've reverted the move for now as there were some backlogs of builds to clear up. I've tried the commands in the reverted state and it gives: http://my.machine.com:8080/jenkins/ http://my.machine.com:8080/jenkins/ my.machine.com:8080 null I'll try the move again tomorrow with the commands. It is

Re: Compiler warnings and ignoring files

2014-07-28 Thread Jon Schewe
It seems that the problem is that the filter is not done on the absolute path to the file, but rather the filename fragment that shows up in the warning. This makes it very difficult to ignore all warnings for a given directory. I need to list each file in the directory explicitly. On Mon, Jul 28

RE: Downgrade the weather upon test failure

2014-07-28 Thread Mark Sinclair
Thanks. I’ve submitted an improvement request. https://issues.jenkins-ci.org/browse/JENKINS-24006 In the meantime, I’m going to try to find a workaround to solve my issue. I don’t want sunny weather when there is at least one test failure. From: jenkinsci-users@googlegroups.com [mailto:jen

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Jon Schewe
You will create a new foo.properties file for each run. On Mon, Jul 28, 2014 at 1:06 PM, Andrew Pritykin wrote: > Jon, > > THANK YOU! I got it to work! I appreciate your help very much! Cheers!! > > > On Monday, July 28, 2014 1:49:31 PM UTC-4, Andrew Pritykin wrote: >> >> So just to clarify, wi

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Jon Schewe
Glad it worked. On Mon, Jul 28, 2014 at 1:06 PM, Andrew Pritykin wrote: > Jon, > > THANK YOU! I got it to work! I appreciate your help very much! Cheers!! > > > On Monday, July 28, 2014 1:49:31 PM UTC-4, Andrew Pritykin wrote: >> >> So just to clarify, will I be creating a new foo.properties fi

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Andrew Pritykin
Jon, THANK YOU! I got it to work! I appreciate your help very much! Cheers!! On Monday, July 28, 2014 1:49:31 PM UTC-4, Andrew Pritykin wrote: > > So just to clarify, will I be creating a new foo.properties file for each > run or add a new value to YVALUE? > > On Monday, July 28, 2014 1:47:49 PM

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Andrew Pritykin
So just to clarify, will I be creating a new foo.properties file for each run or add a new value to YVALUE? On Monday, July 28, 2014 1:47:49 PM UTC-4, Jon Schewe wrote: > > That's how I use the plot plugin as well. Have your script write > YVALUE=time into the file foo.properties, then configure

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Jon Schewe
That's how I use the plot plugin as well. Have your script write YVALUE=time into the file foo.properties, then configure the plugin to use the file just like I specified earlier. The plot plugin will keep track of all of the values for each build internally. On Mon, Jul 28, 2014 at 11:38 AM, And

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Daniel Beck
Run the following in Script Console and report the output: println Jenkins.instance.rootUrlFromRequest println JenkinsLocationConfiguration.get().url println org.kohsuke.stapler.Stapler.currentRequest.getHeader('X-Forwarded-Host') println org.kohsuke.stapler.Stapl

Re: Mailer plugin

2014-07-28 Thread Scott Evans
As an update, in sending a couple test emails the headers indicate that it's internally getting passed back to the master to send out to the SMTP server, but rather than relying on just my looking at the headers I'd prefer someone who knows the logic flow for the mailer plugin to confirm that email

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Jon Schewe
The "foo.properties" file is created for each build as part of my continuous integration script. On Mon, Jul 28, 2014 at 10:23 AM, Andrew Pritykin wrote: > Jon, > > Is the same file "foo.properties" used for multiple builds? Would I just > continue to add values to YVALUE or create a new file f

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Andrew Pritykin
How would I go about using the foo.properties files for what I need. Basically my script tests how long it takes to load the webpage, then saves the time in a file. I plan to graph the load time for each build in a single graph (so we can monitor webpage performance over time). I apologize as I

Escape Quotes

2014-07-28 Thread Christian Würtz
Hi, I'm testing my project with sbt and to do so I have the following command in the "Actions" textfield: clean update "env development" "set (testOptions in Test) += Tests.Argument(TestFrameworks.Specs2, \"exclude\", \"badTest\")" test dist But the escape of the quotes fails and Jenkins just

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Hansen Loke
The config is the same as before the move, so it's: http://my.machine.com:8080/jenkins/ On Monday, 28 July 2014 17:08:23 UTC+1, Daniel Beck wrote: > > What's configured in Manage Jenkins » Configure System » Jenkins Location > » Jenkins URL? > > On 28.07.2014, at 12:08, Hansen Loke > > wrote

Re: Jenkins logout when pushing the browser Back button

2014-07-28 Thread Daniel Beck
On 28.07.2014, at 17:57, Daniel Beck wrote: > Are you sure the page isn't just cached? Try reloading. Note that the login form shows even when you're logged in as it has its own URL. Look to the top right to see whether you're logged in. -- You received this message because you are subscribe

Re: Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Daniel Beck
What's configured in Manage Jenkins » Configure System » Jenkins Location » Jenkins URL? On 28.07.2014, at 12:08, Hansen Loke wrote: > Hi, > > Recently I've moved the Jenkins installation to a different HDD location on > the same host, and to be started by a different user, reasons for the mo

Re: Mailer plugin

2014-07-28 Thread Slide
I believe it gets executed on the individual build job nodes. On Mon, Jul 28, 2014 at 8:14 AM, Scott Evans wrote: > Does anyone know offhand where the Mailer plugin gets executed for a > build? Does it get executed on the master Jenkins node, the > multi-configuration parent, or the individual

Re: How to make the Job name not updatable

2014-07-28 Thread Daniel Beck
On 28.07.2014, at 13:13, Maciej Jaros wrote: > Anyone with access to job configuration has access to the machine Jenkins is > on - i.e. one could create a job that changes a directory of Jenkins job and > Jenkins job name is connected to the directory name. There are extension points that all

Re: Jenkins logout when pushing the browser Back button

2014-07-28 Thread Daniel Beck
Are you sure the page isn't just cached? Try reloading. On 28.07.2014, at 16:09, Ali Yakout wrote: > Hi > > I have a problem with my Jenkins. After logging in, if I click the browser > back button, it logs me out from jenkins. > I tried several browsers but still the same issue. > > Any clue

Re: How to: Start application on destination after the build

2014-07-28 Thread Daniel Beck
https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller On 28.07.2014, at 17:00, Steven Scott wrote: > I am new to Jenkins and love the tool, but I am having one problem > that I can not imagine is unique to me, and I have not found a plugin > to deal with the issue. > > The problem I hav

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Andrew Pritykin
Jon, Is the same file "foo.properties" used for multiple builds? Would I just continue to add values to YVALUE or create a new file for each build? Is it difficult to write to the properties file in Javascript? On Monday, July 28, 2014 11:12:17 AM UTC-4, Jon Schewe wrote: > > I have the plot pl

Compiler warnings and ignoring files

2014-07-28 Thread Jon Schewe
I see that under the advanced section of the compiler warnings module there is an option to ignore files based on their absolute file path. Does this work to filter warnings found in the console output or only when scanning files? I have a directory at the top of my workspace named "log4cxx/source

Mailer plugin

2014-07-28 Thread Scott Evans
Does anyone know offhand where the Mailer plugin gets executed for a build? Does it get executed on the master Jenkins node, the multi-configuration parent, or the individual child build job nodes? We're trying to limit as much as possible which nodes in our system need to have access to our smtp

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Jon Schewe
I have the plot plugin generating plots from some of my test scripts. I'm using the properties file format. So for each series that I want to graph I create a file that contains YVALUE=. For instance I have a series named "foo" and I create a file named "foo.properties" that contains a single line

How to: Start application on destination after the build

2014-07-28 Thread Steven Scott
I am new to Jenkins and love the tool, but I am having one problem that I can not imagine is unique to me, and I have not found a plugin to deal with the issue. The problem I have is that I have an application running on server that provides emulation data for our tests. In order to update this ap

Re: Need help with Plot Plugin for Jenkins

2014-07-28 Thread Andrew Pritykin
Still looking for any help on this problem. On Wednesday, July 23, 2014 5:22:12 PM UTC-4, Andrew Pritykin wrote: > > So here is the deal folks, > > I have a PhantomJS script that simply measures the amount of time it takes > to load a web page (in ms). My plan is to graph the result (time taken)

Jenkins logout when pushing the browser Back button

2014-07-28 Thread Ali Yakout
Hi I have a problem with my Jenkins. After logging in, if I click the browser back button, it logs me out from jenkins. I tried several browsers but still the same issue. Any clue what could be the problem here. Thanks -- You received this message because you are subscribed to the Google Grou

AUTO: Andreas Schilling/Twt-Gmbh is out of the office. (Rückkehr am 04.08.2014)

2014-07-28 Thread Andreas Schilling
Ich kehre zurück am 04.08.2014. Bitte wenden Sie sich in dringenden Fällen an Dr. Thorsten Scheibler (thorsten.scheib...@twt-gmbh.de) oder telefonisch an das TWT Sekretariat Tel: +49-7111/215777-0. Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht  "Moved Jenkins to different locat

Java Keystore Compatibility

2014-07-28 Thread Dave Augustus
Hello fellow listers, --apologies if this is too off topic--- We are in the process in moving our Jenkins build system to the cloud and I have ran into a strange issue dealing with java keystore file compatibility. Moving the keystores from Mac OS (Mountain Lion) to Linux (CentOS 6) causes the

Re: Downgrade the weather upon test failure

2014-07-28 Thread Stephen Connolly
issues.jenkins-ci.org On 28 July 2014 14:33, Mark Sinclair wrote: > That would be just what I’m looking for. > > > > I’m fairly new to Jenkins – Is there a place to make a feature enhancement > request like this? > > > > Thanks, > Mark > > > > > > *From:* jenkinsci-users@googlegroups.com [mail

RE: Downgrade the weather upon test failure

2014-07-28 Thread Mark Sinclair
That would be just what I’m looking for. I’m fairly new to Jenkins – Is there a place to make a feature enhancement request like this? Thanks, Mark From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Stephen Connolly Sent: Sunday, July 27, 2014 4:30 P

Deletion of sub projects via Jenkins Job generator?

2014-07-28 Thread Chris Williams
Hi, I'm using the Jenkins Job Generator plugin to generate/create a Delivery Pipeline where the initial Job generator has a Sub project and a Downstream project. Both the Sub and Downstream projects are Job generators. The initial project has a global generation parameter called BRANCH_NAME and i

Speakers Announced for Jenkins CI User Event, Copenhagen

2014-07-28 Thread Adam Henriques
Hi Jenkins Friends! We are happy the reveal the full roster for the Jenkins CI User Event in Copenhagen, Aug 22nd. *JCICPH* The roster features domestic as well as international speakers, and we have still more to join the list. Just like la

Re: How to make the Job name not updatable

2014-07-28 Thread Maciej Jaros
Emmanuel DEMEY (2014-07-21 14:30): Hi everyone, After the creation of a job, how can I make the job name read-only for all users ? I need this, in order to break the link between the job and our database that use our jenkins resource. Even if you could do this in Jenkins it would be pointl

Re: Contents of Jar

2014-07-28 Thread Maciej Jaros
Thomas (2014-07-24 21:59): Hi All, is there are way to view the contents of a generated jar? I don´t want to download the whole jar and open it on my desktop but instead view it in the web interface. Is there a plugin that does that or is the feature somehow already included? Thanks for y

Moved Jenkins to different location/user now slave-agent.jnlp has invalid duplicate port number in the url

2014-07-28 Thread Hansen Loke
Hi, Recently I've moved the Jenkins installation to a different HDD location on the same host, and to be started by a different user, reasons for the move was that it was previously freeloading from another user. After this move all *nix slave nodes connects fine but the windows jnlp slave node