Re: Customizing behavior of "Wipe out current workspace"

2014-01-15 Thread Richard Bywater
Could you stick a "run a shell command" build item in at the end of the job to to the chflags command which would mean that when wipe out current workspace does its thing it would work? Richard. On Wed, Jan 15, 2014 at 11:31 AM, Craig Rodrigues wrote: > Hi, > > Is it possible to customize the b

Re: Customizing behavior of "Wipe out current workspace"

2014-01-15 Thread Craig Rodrigues
Hi, That is one possibility, but I don't want to modify my build steps to accomodate this special case. Also, the way that my build is structured, when one of the steps fail, the build stops right away and no more steps are executed. In that failure case, it is possible that certain binaries have

Re: A way to get rid of useless local workspace?

2014-01-15 Thread kgiloo
probably my description lacked precision: I should have titled "A way to get rid of useless checkout of repository into my local workspace". I do not use any special slave configuration to trigger my builds on slaves, it is all driven by Ant. In other words, checkout of repository is also per

Page load slow at 1st time but fast in 2nd time

2014-01-15 Thread dennys
I have hundred jobs and use view to separate them. Each view has 50~100 jobs. When I login one view, it takes about 10 seconds to show the page. But I I click refreash, it only takes less than 1 second. And if I don't use Jenkins for a while, when I click it again, it takes 10 seconds again. I gue

Re: Customizing behavior of "Wipe out current workspace"

2014-01-15 Thread Vincent Latombe
Hi, I guess it is possible but requires implementation of a BuildWrapper. Then in the teardown part, you implement your custom logic and it can be executed whether the build is successful or failed. As for customizing the wipe out workspace action, it can be done only through SCM implementations,

Re: Page load slow at 1st time but fast in 2nd time

2014-01-15 Thread Vincent Latombe
There are two directions : - increase the heap, that will allow Jenkins to keep more jobs/builds in memory (but this is not guaranteed) - try to remove some columns that may trigger useless load of all builds for a job Vincent 2014/1/15 dennys > I have hundred jobs and use view to separate the

Re: A way to get rid of useless local workspace?

2014-01-15 Thread Maciej Jaros
kgiloo (2014-01-15 09:42): probably my description lacked precision: I should have titled "A way to get rid of useless checkout of repository into my local workspace". I do not use any special slave configuration to trigger my builds on slaves, it is all driven by Ant. In other words, check

Re: A way to get rid of useless local workspace?

2014-01-15 Thread Maciej Jaros
kgiloo (2014-01-15 09:42): probably my description lacked precision: I should have titled "A way to get rid of useless checkout of repository into my local workspace". I do not use any special slave configuration to trigger my builds on slaves, it is all driven by Ant. In other words, check

Variable filename for EnvInject

2014-01-15 Thread Nick Brown
Is there any way of passing the 'Properties File Path' value a resolvable variable? I was trying something like ${WORKSPACE}\EnvFile.txt but it seems it has to be a hard coded absolute path. This plugin allows for a lot of freedom to parameterise your jobs with variables defined before even th

jenkins warnings plugin pclint linux

2014-01-15 Thread Stijn
Hi, I'm using pclint together with jenkins warnings plugin on linux. However, pclint is a windows executable executed by wine. Therefore, the output of pclint is something like Z:\media\Data\workspace\pr_7315\app\common\logging\src\logger.c(91): Note 956: Non const, non volatile static or ex

Re: Build triggers not working after upgrading to 1.546 and 1.547

2014-01-15 Thread Sarah Renick
This is due to UpDownStreamNumberSychronizedNotify not working as of 1.5.32.1 JENKINS-21154 On Monday, January 13, 2014 4:03:11 PM UTC-5, Sarah Renick wrote: > > This is my first question to the group so please bear with me. > We upgraded from

Re: email notification recipients list not saved.

2014-01-15 Thread rop
I am experiencing the same problem. When I go into a Jenkins-job, click Configure, then Save the job, the email-recipients field goes empty. We have 2 different Linux-servers with exactly the same jenkins-version: 1.532.1 HOWEVER: this error happens only on 1 of the servers, while the other wor

Re: git plugin: get a list of changed file names?

2014-01-15 Thread Sam Lee
ended up using REST API: https://gist.github.com/saml/8437653 On Tue, Jan 14, 2014 at 5:37 PM, Mark Waite wrote: > If you're willing to call the REST API, I think the SHA1 of each of the > jobs is available from the REST API. > > For my job "git-client-plugin", I queried with: > > http://localho

Re: git plugin: get a list of changed file names?

2014-01-15 Thread Waky
You could have also looked at the git reflog to get the previous SHA-1. Cheers, Kalle keskiviikko, 15. tammikuuta 2014 17.49.46 UTC+2 saml kirjoitti: > > ended up using REST API: https://gist.github.com/saml/8437653 > > > On Tue, Jan 14, 2014 at 5:37 PM, Mark Waite > > wrote: > >> If you're will

Re: Using job generator with parameter factories

2014-01-15 Thread syl20bnr
HI Balázs, Parameters file are not supported yet in a post-build action but it should be doable, can you fill a JIRA ticket here [1] ? Can you fill a second one for the bug with parameters file when Parameterized Build Trigger is used as a build step ? Thank you, syl20bnr [1] https://issues.j

upgrading from Jenkins ver. 1.535 to 1.547 : wait for jenkins to restart after upgrade took over 4 hours, and did not complete.

2014-01-15 Thread Warren Postma
I attempted to upgrade from within jenkins from 1.535 to 1.547.This is on a Windows 7 64 bit computer. It upgraded, and tried to restart, it sat on the "jenkins is getting ready to work" screen for four hours. I decided to kill it after 4 hours went by. I then could not get the service

application blocked by security setting when running a slave

2014-01-15 Thread Victoria Wei Lei
I run a slave by Java web start, it returned error: "application blocked by security setting". see the screen shot. Please advise what's the cause. Thanks Victoria -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this gro

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread devanand
Hi, I am using Email Ext Plugin here... I don't see a way to use JAVA API as a part of the EMAIL feature for Jenkins. https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-Scriptcontent Can anyone guide me what syntax i need to write in order to remove [JAVA] from the ac

Is it possible to see the next scheduled build for a job? (ie, when using the "H" / hash crontab option)

2014-01-15 Thread Paul Molodowitch
I'm a big fan of using the hash in scheduled builds - ie, H H * * * to run a job once a day. The only downside is that it can be hard to know when a job will next build - is there any way to see that information? Thanks, Paul -- You received this message because you are subscribed to the Go

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread Slide
The BUILD_LOG_REGEX token has a substText parameter, you specify the replacement you want to replace the matched regex with. You can use the same syntax for the replacement string as is supported by appendReplacement of the Matcher object, e.g., (this does not solve your issue, you'll have to deter

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread devanand
I am still confused sorry but i never used substText before and i didn't find any good documentation for this too so i am asking the question again... ${BUILD_LOG_REGEX,regex="(?=.*?Environment)(?=.*?Total)(E.*?\\))",showTruncatedLines=false,substText=Matcher.appendReplacement [StringBuffer,St

I'm getting OutOfMemoryError (Jenkins 1.546 with slave nodes)

2014-01-15 Thread ddumont
Got a heap dump... also previously opened this issue which may be related: https://issues.jenkins-ci.org/browse/JENKINS-21382 Here is the requested path to root: http://pastebin.com/gpnB6v4M Please let me know if there is any more information you would like added to the issue or this thread. --

Re: Is it possible to see the next scheduled build for a job? (ie, when using the "H" / hash crontab option)

2014-01-15 Thread Daniel Beck
I don't think it's exposed anywhere on the UI (except indirectly, e.g. dates in polling logs and when previous builds were started). However, you can access it via the Jenkins script console, if you're willing to work for the information. Run the following script, replacing 'job-name' with the

Generating parallel flow with Build Flow Plugin

2014-01-15 Thread Rodrigo García Peláez
Hi, I'm trying to use build flow plugin https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin to run the same job multiple times in parallel but with different parameters that I produce from a given String parameter in the job I was trying something like this: parallel ( { params["B

Disappearing slave nodes after restart

2014-01-15 Thread ddumont
Every time I restart my jenkins server it seems like I lose a slave node or two. If I catch it right away, I can reload the config from disk and it comes back... but if I leave it alone and start making changes, I loose that ability. I have jenkins checking in the config changes to git now, and

Re: Re: Java Version 7, Update 45 warning every time I try starting the slave

2014-01-15 Thread Jeremy Morton
FYI, as of Update 51, it now blocks with no option to allow execution. On Thursday, December 19, 2013 6:21:36 AM UTC-5, Andreas Schilling wrote: > > Hi everyone, > > as stated in my answer from some time ago, the issue is that the JNLP for > Java versions from v7u45 must be signed. > That means

Re: Re: Java Version 7, Update 45 warning every time I try starting the slave

2014-01-15 Thread Jeremy Morton
Even worse, even if you don't update Java, it refuses to run self-signed jnlp files because you aren't running the latest version [and the latest version blocks them, too]. On Wednesday, January 15, 2014 3:10:15 PM UTC-5, Jeremy Morton wrote: > FYI, as of Update 51, it now blocks with no opti

Global use of masked password

2014-01-15 Thread Eric Wood
Is it possible to set up a "global" password from the jenkins configure system   page and use it throughout my various jenkins jobs?  I tried to create a Mask Passwords - Global name/password pair and then use it as a variable in the job's ANT properties section as: ${TEST_PASSWORD}, but it did n

Re: Java Version 7, Update 45 warning every time I try starting the slave

2014-01-15 Thread k . thieling
Try going to Java in Control Panel > Programs. Then go to the Security Tab, and click on edit site list. Add your jenkins base address there - Original Message - From: "Jeremy Morton" To: jenkinsci-users@googlegroups.com Sent: Wednesday, January 15, 2014 2:22:08 PM Subject: Re: Re

Re: Java Version 7, Update 45 warning every time I try starting the slave

2014-01-15 Thread Jeremy Morton
Thanks, that got me back to having to check a box each time I start the program. There doesn't seem to be a way to tell it to just run it when it is launched. On Wednesday, January 15, 2014 3:42:59 PM UTC-5, KT wrote: > > Try going to Java in Control Panel > Programs. > > Then go to the Security

Re: Global use of masked password

2014-01-15 Thread Scott Evans
Eric, We use that all the time. Under Build Environment for each job there's a click box for "Inject password to the build as environment variables" and a sub-check for Global Passwords. It should be masked in any log output, but available to each job that's configured to use global passwords.

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread Slide
I don't have a way to test, so I can't tell you exactly what you need to use. The substText can use $0 through $9 to be the matching groups for the replacement text, so something like this (THIS WILL NOT WORK AS IS). ${BUILD_LOG_REGEX,regex="(?=.*?Environment)(?=.*?Total)(E.*? \\))",showTruncatedL

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread devanand
I think i got it what are you trying to say now I tried your approach but it's still printing same thing... But seems like this is not the solution... As i can still see [java] is always getting printed as part of any BUILD_LOG_REGEX whatever i do... As that is coming from this API itself..

Re: Global use of masked password

2014-01-15 Thread Daniel Beck
On 15.01.2014, at 21:51, Scott Evans wrote: > there's a click box … provided by the Environment Injector Plugin (or "env-inject"). -- 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

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread Slide
[java] is not printed by the build log regex token, I can guarantee that. On Jan 15, 2014 2:43 PM, "devanand" wrote: > I think i got it what are you trying to say now I tried your approach > but it's still printing same thing... > > But seems like this is not the solution... As i can still se

Re: Securely obtain the Jenkins package and public key

2014-01-15 Thread abhijith chandrashekar
Thanks Tielo. Although I do think downloading sources and inspecting them would not only be overkill, but also not a foolproof way of ensuring security. What if the source files are mangled during download? The only few ways I can think of are 1. to get the binaries and keys/hashes over PGP email

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread Daivish Shah
Yes you are right I just verified my LOGs...The line is getting Printed as part of my API. But some how it's not able to remove [java] from the REGEX. i tested my REGEX you can take a look here. It's just trying to grab the specific line which i want to get it printed in the email... But still

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread Slide
Try this: ${BUILD_LOG_REGEX, regex=".*((?=.*?Environment)(?=.*?Total)(E.*?\\)))", substText="$1"} On Wed, Jan 15, 2014 at 3:55 PM, Daivish Shah wrote: > Yes you are right I just verified my LOGs...The line is getting > Printed as part of my API. But some how it's not able to remove [java] f

Re: Looking for solution on Jenkins Email Plugin feature

2014-01-15 Thread devanand
Thanks a lot, Finally following line is the correct line which i suppose to use it... ${BUILD_LOG_REGEX, regex=".*((?=.*?Environment)(?=.*?Total)(E.*?\\)))", substText="$1",showTruncatedLines=false} This is working all right now... thanks a lot for your help On Wednesday, January 15, 201

Re: Securely obtain the Jenkins package and public key

2014-01-15 Thread Richard Mortimer
Hi Abhijith, I think you need to read about chains of trust. Everything that you suggest below is at best hiding what you are downloading from an observer. It doesn't stop man in the middle attacks or guarantee that the contents were not corrupted during transit. As James suggested all you n

Re: How to bring the history back if a job has been renamed

2014-01-15 Thread Curtis Kline
But do not ever run "Reload Configuration from Disk" if you have the Gerrit Trigger installed (ver 2.10 and older). Every job that's using the Gerrit Trigger will have serious problems if you do. See: http://issues.jenkins-ci.org/browse/JENKINS-10709 So if you're running LTS Jenkins and Gerrit Tr

Re: Securely obtain the Jenkins package and public key

2014-01-15 Thread Kohsuke Kawaguchi
I've modified the server infrastructure so that the PGP public key is available at https://jenkins-ci.org/jenkins-ci.org.key. These keys are used to sign native packages. In the next release I'll update the those package documentaion to refer to this key location in HTTPS. Aside from that, regardl

Re: Securely obtain the Jenkins package and public key

2014-01-15 Thread Kohsuke Kawaguchi
OK, that's embarassing. Indeed we haven't figured out how to communicate security problems to plugin developers. Sometimes it's not obvious who to talk to, and even when it is obvious, we haven't configured JIRA to let us grant read access on issue-by-issue basis. Issues not getting a timely enou

Re: A way to get rid of useless local workspace?

2014-01-15 Thread Les Mikesell
On Wed, Jan 15, 2014 at 2:42 AM, kgiloo wrote: > > probably my description lacked precision: > I should have titled "A way to get rid of useless checkout of repository > into my local workspace". > > I do not use any special slave configuration to trigger my builds on slaves, > it is all driven by

Re: email-ext tokens for "Build Failure Analyzer"

2014-01-15 Thread Mike Bayliss
This isn't working for me - the script is run but failureCauses.size() isn't more than 0, even though three causes have been matched in my test case. This is Jenkins core 1.546, with BFA 1.5.1 and email-ext 2.37.1 (server is Ubuntu 12.04, java version 1.7.0_25). Any ideas what I'm missing? Mike