Keeping windows slaves up to date

2015-08-25 Thread Dirk Kuypers
Hi all, as I have an increasing number of windows slaves on my Jenkins (currently 40) I was wondering how to keep software on them up to date without logging in manually on each of the machines. There is at least one patch day a month were you want to install the newest Windows patches and from

Re: Installing Jenkins into a specific directory on Windows using msiexec

2014-08-27 Thread Dirk Kuypers
Hi Luiz, sorry, for the maybe dumb question: Does the user installing the package have admnistrative rights? From the log: MSI (s) (C8:68) [14:47:01:951]: Product: Jenkins 1.577 -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files (x86)\Jenkins.

Re: [1.572] - Console Output Broken

2014-07-18 Thread Dirk Kuypers
Downgrading timestamper to 1.5.11 fixes the problem for me. I opened a JIRA ticket: https://issues.jenkins-ci.org/browse/JENKINS-23867 Thanks for the hint, Tom. BR Dirk 2014-07-17 10:58 GMT+02:00 Dirk Kuypers kuypers.d...@gmail.com: Bingo Tom! It's the Timestamper plugin. If I disable

Re: [1.572] - Console Output Broken

2014-07-17 Thread Dirk Kuypers
with the latest version, but not for all projects. I think it may be a problem with the timestamper plugin. Do you use that plugin? Bt T On Monday, 14 July 2014 16:25:48 UTC+2, Dirk Kuypers wrote: Hi, from which version did you upgrade? I am seeing this, too, but since some weeks now, and as we

Re: [1.572] - Console Output Broken

2014-07-14 Thread Dirk Kuypers
Hi, from which version did you upgrade? I am seeing this, too, but since some weeks now, and as we are upgrading every week to the latest and greatest I am not quite sure when this crept in. And: I think it is not related to all console outputs, if I am watching a groovy script I get an updated

Re: Parameterized Build - Multiple instances of a single parametrized job (a template) AKA fixed parametrized build

2014-06-13 Thread Dirk Kuypers
Hi, I use the job-dsl plugin to generate thousands of test projects via a groovy script. I have a template job and some string arrays with my parameters for test categories which are iterated for job generation. Some of the main code snippets: def create_windowsBatch = { name, filter - return

Re: Deadlocked threads

2014-04-10 Thread Dirk Kuypers
Meanwhile I could reproduce the bug with 1.556 and was able to copy the stack trace by inspecting the html page in chrome.;-) I opened https://issues.jenkins-ci.org/browse/JENKINS-22560 BR Dirk 2014-04-09 15:11 GMT+02:00 Dirk Kuypers kuypers.d...@gmail.com: Hi, I think since Jenkins

Deadlocked threads

2014-04-09 Thread Dirk Kuypers
Hi, I think since Jenkins 1.556 (with 1.555 there is definetely no problem, with 1.557/8 it is there) we are facing occasional deadlocks with executors which are not abortable, only a Jenkins restart helps. Via monitoring plugin I can see the following warning: Warning, the following threads are

Re: Performance with thousands of jobs

2014-02-19 Thread Dirk Kuypers
. Sounds very expensive to me if I think about the time it needs to render the build history of a node. BR and thanks for helping out Dirk 2014-02-18 13:01 GMT+01:00 Dirk Kuypers kuypers.d...@gmail.com: Thanks for your comments. Searching for Functions.getRelativeLinkTo(Item) leads me

Performance with thousands of jobs

2014-02-18 Thread Dirk Kuypers
Hi all, we have a quite big Jenkins installation (although I know from some posts to this lists that there are much bigger ones out there). A master which is only doing the web front-end with about 20 Slaves. We have a lot of jobs, at the moment about 3000 (job-dsl plugin rules;-) but in the end

Re: Performance with thousands of jobs

2014-02-18 Thread Dirk Kuypers
option could be expensive columns like 'Project Statistics Plugin' that require loading all builds from disk; or Maven Plugin jobs which have more builds than you think (see discussion in JENKINS-21487). On 18.02.2014, at 09:49, Dirk Kuypers kuypers.d...@gmail.com wrote: Hi all, we have

Re: how to set up a Test pass to run microsoft fakes unit test without installing visual studio on Jenkins server

2014-02-12 Thread Dirk Kuypers
Hi, I have never done it myself, but maybe this is helpfull: http://blog.anthonybaker.me/2013/05/running-mstest-without-visual-studio.html And one of the comments under the article says you can install: http://www.microsoft.com/en-us/download/details.aspx?id=40750 HTH and good luck;-) Dirk

Re: xunit does not recognize failed tests anymore when I run a coverage tool

2013-05-27 Thread Dirk Kuypers
the build is set to failed again. Hm, I think this is a bug. I'll open a ticket... Thanks for listening;-) Dirk 2013/5/24 Dirk Kuypers kuypers.d...@gmail.com Hi, I recently started to use Opencover with my MSTest unit tests to get code coverage results. Since then the xunit plugin does

xunit does not recognize failed tests anymore when I run a coverage tool

2013-05-24 Thread Dirk Kuypers
Hi, I recently started to use Opencover with my MSTest unit tests to get code coverage results. Since then the xunit plugin does not recognize errors as a Failure anymore. The TRX file is parsed and you can see at the summary page that there are tests failed and since when, but the job is counted

Re: Changes since last success in Email Extension Plugin

2013-01-11 Thread Dirk Kuypers
} if those are the same (1 to 1 relation between compile/test). Is this a request for a new feature or is it already possible to achieve this via groovy templating?!? Thanks for helping out Dirk 2012/11/22 Dirk Kuypers kuypers.d...@gmail.com Hi, I have a compile job that runs continuously triggered

Re: Changes since last success in Email Extension Plugin

2013-01-11 Thread Dirk Kuypers
can interact with the Jenkins classes and get pretty much any information you want without having to have a new feature added to the plugin. slide On Fri, Jan 11, 2013 at 9:19 AM, Dirk Kuypers kuypers.d...@gmail.comwrote: Hi, as my developers keep asking about this I am re-sending my

Re: Installing Jenkins on Windows Server 2012 Standard fails

2012-11-26 Thread Dirk Kuypers
Hi, you could also try this: ?xml version=1.0 encoding=utf-8? configuration runtime generatePublisherEvidence enabled=false/ /runtime /configuration as jenkins-slave.exe.config or jenkins.exe.config if you are behind a proxy that does not let you contact external servers to verify

Changes since last success in Email Extension Plugin

2012-11-22 Thread Dirk Kuypers
Hi, I have a compile job that runs continuously triggered by SCM which starts about 40 or 50 test jobs after successful compilation. I am printing the changes since last success (coming from the upstream compile job) of a test job which is run after a compile job like this:

Re: Build queue disappearing

2012-10-10 Thread Dirk Kuypers
Hi, this bug: https://issues.jenkins-ci.org/browse/JENKINS-15335 is fixed with 1.486. BR Dirk 2012/10/10 Michaël Pailloncy mpapo@gmail.com: Hi, I've faced with the same issue with 1.484. Michaël 2012/10/10 Pawel pgronkiew...@gmail.com Hello, After upgrading from 478 to 485 I

Build Queue empty after update via Ajax

2012-09-27 Thread Dirk Kuypers
Hi, I think 1483 introduced a bug with updating the build queue via Ajax. Initially I can see the waiting jobs and after about 10 seconds there is the automatic update via ./ajaxBuildQueue which calls t:queue items=${it.queueItems}/ if I googled ot right.;-) One changelog entry for 1483 was:

Re: how to handle C# project dependencies

2012-09-21 Thread Dirk Kuypers
2012/9/21 Kenneth kenneth.f.niel...@gmail.com Do I need to have both projects in the job? - I dont want to, it will be like 15 projects in each job. how do I handle it? I do not get your question completely. So, what do you want to achieve? You want to compile a unit test project and run its

Re: NPE when adding/changing a TimerTrigger via groovy

2012-08-13 Thread Dirk Kuypers
Morning, ok, I can confirm now that restarting Jenkins helps, the NPE is gone. I think I'll open a JIRA ticket. BR Dirk 2012/8/10 Dirk Kuypers kuypers.d...@gmail.com: Hi, I am generating/changing lots of regression test jobs via groovy to keep our build machines chewing during the night

NPE when adding/changing a TimerTrigger via groovy

2012-08-10 Thread Dirk Kuypers
Hi, I am generating/changing lots of regression test jobs via groovy to keep our build machines chewing during the night. Yesterday I had to change some parameters in our jobs but the existing cron section stayed the same. When diffing the config file it shows my changes, the trigger section

Re: Editing Sectioned View broken with Status Code: 500

2012-07-18 Thread Dirk Kuypers
Hi, to answer myself: downgrading Jenkins to 1473 made the error go away. The changelog for 1474 is not that big. Can anyone guess which change causes this behaviour? Is there already a (similar) ticket opened? BR Dirk 2012/7/17 Dirk Kuypers kuypers.d...@gmail.com: Hi, I just wanted to add

Editing Sectioned View broken with Status Code: 500

2012-07-17 Thread Dirk Kuypers
Hi, I just wanted to add another list-view section in a sectioned view existing for some time now. I am using Jenkins 1.474, all plugins latest. As the sectioned view plugin was updated last year I suspect that there broke something in Jenkins core?! Can anyone confirm this, then I would file a

Re: Load anomaly

2012-07-05 Thread Dirk Kuypers
idle earlier you do not waste time and the backup starts. thomas Am 04.07.2012 17:40, schrieb Dirk Kuypers: I think I found it... I am using ThinBackup plugin for incremental backups during night and it had a check to force Jenkins into quiet mode after 120 minutes of being not idle. Hm

Load anomaly

2012-07-04 Thread Dirk Kuypers
Hi list, I am just puzzling about some strange behaviour of my master/slave setup. I have a 4 core master with Win7/64 bit and about 10 slaves with 2 cores and Win7/64 bit/Win2008 Server R2. I compile a .NET project at 20:00 and start (at the moment as a scheduled job at 21:00) about 150 unit

Testing MSI Installers

2012-06-19 Thread Dirk Kuypers
Hi, after installing Continuous integration with compile and build of unit tests in our software project for each checkin (almost -- Clearcase does not support changesets) I would like to go further and test my MSI setups created with WiX. Because I did not find too much about this topic by

Re: Jenkins service won't start after upgrading to latest version ( 1.471)

2012-06-19 Thread Dirk Kuypers
Hi Roland, at least you should have a jenkins.war.bak in your Jenkins directory. So just rename it to Jenkins.war and restart. Then you should have your old version back. HTH Dirk 2012/6/19 Roland Zwaga ihatelively...@gmail.com: Hey there, I just did an automatic upgrade using the

Re: Setting assignedNode and canRoam of a project programmatically

2012-06-08 Thread Dirk Kuypers
Hi, a big thanks! BR Dirk 2012/6/7 cjo cjo.john...@gmail.com: Hi Dirk, Looks like you need to use one of the LabelExpression which are the other subclass of Label, in your example case the LabelExpression.Or would be needed. The code would be job.setAssignedLabel(     new 

Re: managing many jobs/nodes - better way than UI

2012-06-05 Thread Dirk Kuypers
Hi, or, just another suggestion: Use groovy to programmatically change or even create the jobs. I am just starting to use it to create dozens of unit test jobs and I am really impressed about the power although it is quite hard in the beginning to read through Jenkins API. Some links to start

Setting assignedNode and canRoam of a project programmatically

2012-06-05 Thread Dirk Kuypers
Hi, I am trying to set up my unit test Jobs via a groovy script and I am pretty far now. But I have some questions left because I cannot find the right example online/I am too new to the Jenkins API. And: I am not sure if this question would be better placed on jenkinssci-dev... I want to set

Re: Setting assignedNode and canRoam of a project programmatically

2012-06-05 Thread Dirk Kuypers
Script : def jenkins = hudson.model.Hudson.instance println jenkins.items[0].assignedLabel.class BR, Vincent From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on behalf of Dirk Kuypers [kuypers.d...@googlemail.com] Sent

Configure EnvBuildWrapper and xunit plugin programmatically

2012-06-05 Thread Dirk Kuypers
Hi, there are two problems left writing job configurations programmatically via groovy for me. The first is to configure the EnvInjectBuildWrapper plugin. I need the following, but I cannot find the appropriate constructor, even by browsing the plugin sources. I want to achieve the following:

Re: Configure EnvBuildWrapper and xunit plugin programmatically

2012-06-05 Thread Dirk Kuypers
org.jenkinsci.plugins.envinject.EnvInjectJobPropertyInfo(null,CCRoot=\${WORKSPACE}/JobNightlyDebug,null,null,null,false) buildWrapper.setInfo(envInjectInfo) job.getBuildWrappersList().add(buildWrapper ) This is really cool.:-D Sorry for the noise... BR Dirk 2012/6/5 Dirk Kuypers kuypers.d

Setting Build step via groovy

2012-05-30 Thread Dirk Kuypers
Hi, I am trying to generate n-dimensional unit test jobs programmatically via groovy scripting. As I am new to groovy and Jenkins API it took some time to figure some things but I made good progress. Currently I am stuck with setting a build step. I would like to set the build step of the

Re: Setting Build step via groovy

2012-05-30 Thread Dirk Kuypers
Hi, only minutes after writing this mail and googling for hours before I found it: getBuilders().add()... Sorry for the noise Dirk 2012/5/30 Dirk Kuypers kuypers.d...@googlemail.com: Hi, I am trying to generate n-dimensional unit test jobs programmatically via groovy scripting. As I am new

Re: How to get Start time, End time, Duration of a job

2012-04-23 Thread Dirk Kuypers
Hi, 2012/4/23 Vinayak mivina...@gmail.com: How can I get Start time, End time, Duration of a job. I want to print on console at the end or in a particular file. Is there any environment variables or plugins are available..? do you really want o print into a file? I use the groovy postbuild

Re: Block Build when downstream project is *queued*

2012-02-27 Thread Dirk Kuypers
Hi Sami, sorry for the late answer, I was two days off... 2012/2/22 Sami Tikka sjti...@gmail.com: 2012/2/15 Dirk Kuypers kuypers.d...@googlemail.com: Running everything in one job is no alternative because it would take more than 2 hours until all the tests are ready. OK. But you do know

Starting a slave on Windows 2008 Server R2

2012-02-08 Thread Dirk Kuypers
Hi, I am trying to start a Slave on a Windows 2008 R2 server via JNLP (not as a service so far). The JNLP script gets downloaded, started and then I see the slave window saying Connecting to myserver:8085 (I tied JNLP to a fixed port). After trying and googling around for more than 3 hours I am

Re: Windows slave-node connecting to wrong port

2012-02-08 Thread Dirk Kuypers
Hi Richard, 2012/2/7 Richard Bywater rbywa...@gmail.com: Personally I always use the Windows service way of launching the windows slaves as I've found this way to be more robust... are you on Win 2008 Server R2? Because I am experiencing the same problem like John (sorry for posting a new