Re: Old Builds not getting discarded

2012-04-30 Thread Jan Seidel
Saving any fingerprints and eventually preserving these or in other words: is another job accessing the artifacts with fingerprints and has set the option "keep forever" set? This may be your problem. Tkae care Jan Am Montag, 30. April 2012 08:53:19 UTC+2 schrieb Anubhaw Shrivastav: > > My apol

Re: LDAP authentication fails

2012-04-30 Thread Jan Seidel
Hi Nunni, org.acegisecurity.BadCredentialsException: Bad credentials tells you at least that something is happening and then fails. This looks more like a matter of human engineering rather the technical engineering ;) Do you use some funny special character which may interfere with your syst

Re: Authentication Issues with Jenkins

2012-04-30 Thread Jan Seidel
Hi David, prove me wrong but I do actually read the expection as follows. The user INFORMATION for mfx-cm is not readable. The authentication of your user ID is successfully done but the assignment of your security privileges aint working. Maybe I am running wild right now but I will try to find

Re: Pre-Checkout actions?

2012-04-30 Thread Jan Seidel
Hi Søren, what about the join plugin and workspace cleaner plugin? You could with join spawn a job that executes "junction -d %1" and then on return to the upstream job configure woekspace cleaner to cleanup the workspace when the job is done. I doubt it but you may eventually have to create a s

Re: Loading certain view tabs takes forever

2012-04-27 Thread Jan Seidel
Nice to know... I am facing similar issues but it is roaming. So probably a plugin that is located on all of the pages. Unfortunately none of my plugins is in that list but still worth to investigate Am Freitag, 27. April 2012 09:14:20 UTC+2 schrieb fdegir: > > I disabled below plugins. Not qui

Re: Last Successful Artifacts on Multi-Configuration Job

2012-04-24 Thread Jan Seidel
Hi Jeff, you mean a summary of all artifacts from a pipeline of jobs? not as far as I know. The only quick solution that crosses my mind would be a trailing job that with the copyartifact plugin gathers all artifacts (You can set "last successful" there) from all upstream jobs. That would give you

Re: How I can debug a plugin?

2012-04-23 Thread Jan Seidel
Hi Albin, what you are trying to do is a remote debugging. That is described in the link Jesse provided: http://www.google.com/url?sa=D&q=https://wiki.jenkins-ci.org/display/JENKINS/Plugin%2Btutorial%23Plugintutorial-DebuggingaPlugin&usg=AFQjCNFnyh6EcntVf7DDGbHEaQ7xw2F71w E.g. for Windows > set M

Re: Configuration value changing between loading of config file and instantiation of plugin starting in Jenkins 1.455

2012-04-23 Thread Jan Seidel
Hi Grant, nice post but ... I would assume you do rather address it to https://issues.jenkins-ci.org to get the bug fixed ;) Take care Jan On 21 Apr., 07:06, Grant Limberg wrote: > I've been experimenting with the Amazon S3 Publisher plugin in Jenkins 1.460 > in preparation for starting to use

Re: Error running Windows batch file via build step

2012-04-20 Thread Jan Seidel
logged in?  Is that correct, and is it > possible to change that user? > > Thanks > > > > > > > > On Thursday, 19 April 2012 13:34:11 UTC+1, Jan Seidel wrote: > > > By the way. > > > It looks like some of your steps finish successfully right? > > C:

Re: Error running Windows batch file via build step

2012-04-19 Thread Jan Seidel
ugh the steps ;) On Apr 19, 2:20 pm, Jan Seidel wrote: > What irritates me a bit is the exit code 255. > Thats a not quite usual one from a plain build step. Looks to me like > a return value from your builder. > > The builder runs for sure? also when you build it in the workspace C

Re: Error running Windows batch file via build step

2012-04-19 Thread Jan Seidel
g > failure message > > C:\Project\Asset_2\Export>exit 255 > > Build step 'Execute Windows batch command' marked build as failure > > Sending e-mails to: ... > > Finished: FAILURE > > I'm currently investigating the Builder.exe tool for more information

Re: Jenkins master

2012-04-19 Thread Jan Seidel
Hi Guy, I think this is a matter of your usage of Jenkins. It is rather a matter of experience and some empiric facts. You would have to run some specs on a single slave reflecting the average daily tasks. Then run some calculations to estimate the total possible amount of slaves. Some jobs do har

Re: Error running Windows batch file via build step

2012-04-19 Thread Jan Seidel
Hi Lee, some more information would be nice. I did forget my crystal orb at home ;) Which OS are you using? Do you run Jenkins as service? A snippet of your batch files would be helpful as much as an outtake of your build log would be. Take care Jan On 19 Apr., 13:43, Lee Winder wrote: > I have

Re: Queue builds and execute them at certain times

2012-04-17 Thread Jan Seidel
HI Manuel, what about something like PING 1.1.1.1 -n 1 -w 36 >NUL to let the job wait for the ping before continuing. In this example 1 hour. Take care Jan On Apr 17, 11:58 am, Manuel Doninger wrote: > Hello, > is it possible (with a plugin etc.), to queue a build with some > parameters,

Re: svn confusion

2012-04-17 Thread Jan Seidel
I have discarded the idea of an emulated clean checkout completely. I used it in the beginning for all jobs until a non-critical showed a bad behaviour. The files weren't updated reliable. It was a job for creating release notes. Later did we have the same issue with a build job were committed chan

Is it possible to let the jobs roam in a node cluster?

2012-04-05 Thread Jan Seidel
Hi there, my question is already stated in the title as you can see :) I know that you can let jobs "roam" in a node cluster but can you let it REALLY ROAM? Jenkins tries to let jobs build on nodes which already have been used for building that particular job. That clutters some build queues whil

Re: Process leaked file descriptors.

2012-04-05 Thread Jan Seidel
Oh boy X) This sounds a bit like a memory issue in Java. Did you try -XmX1024m or the like? To answer your question, I think I have seen a plugin that notifies an upstream job...*scratch* Join plugin I think. But this requires to get creative. The join plugin interfaces between an up- and downst

Re: Is there a way to read a string (version numbers) from a file into jenkins variable?

2012-04-05 Thread Jan Seidel
Hi, you could try the Jenkins Environment File Plugin https://wiki.jenkins-ci.org/display/JENKINS/Envfile+Plugin Else you would have to run some string manipulation to get the value into a file and execute it at each build step like you would assign an environment variable. In DOS it would be a c

Re: Q: passing svn revision or culprits information trough promotion?

2012-04-04 Thread Jan Seidel
Hi Samu, uhm... there are several options available without plugins - in case some should exist. Figure out how the culprits are handled. I think it'll be a variable as culprits also can be listed in email notifications. Stream it into a file, archive it as artifact. Then use the copy artifact plu

Re: Process leaked file descriptors.

2012-04-04 Thread Jan Seidel
btw. is it confirmed that the test runs proper as standalone? not that you are chasing a symptom and not the cause

Re: Process leaked file descriptors.

2012-04-04 Thread Jan Seidel
What about putting java -DTestSuite="My Regression Test" -cp test.jar org.testng.TestNG -d "testng-results" MyTest.xml into a batch file, create a build step that calls the batch file and archive the artifacts? I think that could help to get rid of that putative behaviour of Jenkins On 4 Apr., 17:

Re: "build periodically" stops triggering builds?

2012-04-04 Thread Jan Seidel
Hi Tomislav, normally does a not correct report of the status happen if the configuration is reloaded from disk. In that case would the build it self also not appear in the build history. Otherwise I would assume that the build did not start. Kick it off manually to validate the jobs function it s

Re: Process leaked file descriptors.

2012-04-04 Thread Jan Seidel
Hi Kristian, let the log level as it is ;) I think there is an EOF occurring in the data stream of the pipe that is not meant to be addressed to Jenkins but rather to some file for test results or cache. Maybe you can encapsule it by running it separated in the batch job (I think the batch command

Re: Jenkins Startup error

2012-04-04 Thread Jan Seidel
Hi, I am a bloody *nix n00b but something jumped me instantly. Is the server running in the same environment as the JDK? e.g. do you have a java_home output of /Path/to/jdk1.6.0_31 as system or user context? And does the Jenkins server run in the same context? It makes no sense to have a correct

Re: SVN_REVISION not showing the correct revision

2012-04-04 Thread Jan Seidel
Hiya, what does the svn info say from command in detail? I assume that the different revisions can be explained quite easy. Rev 23205 is probably the actual revision. That continues counting up each time something also adjacent (same repository/branch/project) is commited even though nothing has b

Re: Can't get email-ext plugin to work

2012-04-04 Thread Jan Seidel
Hi Neil, I have as example the following content in the global setup of email- ext: - SNIP -- $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: Check console output at $BUILD_URL or see build log below to view the results. Changes since last build: $CHANGES

Re: Master/Slave security

2012-04-03 Thread Jan Seidel
Word! Sami I use Jenkins also for administrative jobs like rebooting the machine, restarting the services, opening the task manager or checking with WMI the disk space but you could of course also do more exciting things here ;) Some jobs like opening the task manager or rebooting the machine hav

Re: Order of Jenkins actions

2012-04-03 Thread Jan Seidel
Hi Rodney, well the name is programmtic XD You can simply trigger a downstream build that makes the final action you'd like to see after the artifact deployer. Take care Jan On 1 Apr., 23:26, Grégory Boissinot wrote: > PostBuildScript is designed to run in the last step, whatever the order of >

Re: Triggering remote builds without read access?

2012-04-03 Thread Jan Seidel
Hi, have you tried to use the jenkins-cli ? That would be the easiest approach if you don't use authentication methods of the main stream. I have a while ago been crunching on that issue as well and you mail fail - as I did - if you don't use straight forward authentication but something more exo

Re: Regexp or wildcard downstream triggering

2012-03-28 Thread Jan Seidel
Hi Daniel, that is a wish probably many of us have in different situations ;) As example: I would like to use vars or regex in URL for SCM check out. That would reduce the amount of jobs significantly. Using more jobs makes it easier. The question is, do you just want to use some specific jobs in

Re: Want the status of all forked jobs, failing using Join Plugin

2012-03-28 Thread Jan Seidel
Hi Ken, Ok ... you are not dreaming but I am not really awake yet ;) on the other hand, dreamiong is good, that imporves your creativity XD Only your scripting skills and imagination define the limits of what you can do with Jenkins. Do you have at least TWO build slots available on Jenkins? Else

Re: Is it possible to distinguish between a job triggered by an SCM trigger/periodic trigger/etc... based on a system property set by Jenkins?

2012-03-28 Thread Jan Seidel
Hi Omair, not as far as I know. I think the environment variables would end up in one big mess as you would have to invent a system property for each single job with each trigger reason. Way easier is to duplicate a job as many times as you have different build trigger reasons. This makes you les

Re: Can you recommend a jenkins-friendly C++ code coverage tool?

2012-03-27 Thread Jan Seidel
Hi Chris, we will soon go for Sonar http://www.sonarsource.org/features/ not sure if that fits your expectation. I'm even not sure if it fits ours XD But it seems to be very powerful and versatile not to mention that the sonar server, that runs separately can be connected to jenkins via a jenkins

Re: How to start jenkins service with increased java heap memory

2012-03-26 Thread Jan Seidel
Hi Vladimir, actually is it the file jenkins.xml/respectively hudson.xml not config.xml... --- SNIP --- java -Dhudson.DNSMultiCast.disabled=true -Xrs -Xmx256m - Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE% \jenkins.war" --httpPort=8080 --- SNAP --- Question is here

Re: Jenkins plugin update apparently doesn't work

2012-03-23 Thread Jan Seidel
Hi Paul, I always have to update of plugins manually as our build servers are separated from the network that has internet access. So I can't tell you much about the update centers functionality atm. I add the version number to the filename when I update. This way I get a better overview as we st

Re: Jenkins plugin update apparently doesn't work

2012-03-23 Thread Jan Seidel
Hi Paul, the catalogue file does indeed mention version 1.9 but the link leads to nowhere. The catalogue file is located at http://dl.aragost.com/jenkins/updates/update-center.json You can search for the URL by searching the plugin name. it follows after the name listed. sometimes is it mentioned

Re: Change svn check-out strategy for automatic/manuel build

2012-03-22 Thread Jan Seidel
Hi Chitech, I must fully agree Didier. It would be possibile to achieve your idea with dirty hacks but the effort is in no releation the benefit. Copy and modifiy the job is done within a few seconds. take care Jan On 22 Mrz., 14:44, Didier Durand wrote: > Hi, > > I guess that you have to creat

Re: Hudson 2.1.2 + Subversion 1.6 + behind proxy: "build" doesnt pick credentials

2012-03-21 Thread Jan Seidel
., 05:48, Javy wrote: > Hi Jan Seidel > > Thanks a TON. > > Your suggestion helped - I used it with combination of other solutions > and  finally got over this irritant troubling me from past 2 days. > > This is what I did ( just in case someone else falls into same trap

Re: How to copy artifacts back to workspaces of upstream job?

2012-03-21 Thread Jan Seidel
Many jobs or not is a kind of religious question XD I see it exactly contrary to Sami but I suppose this depends also on the environment ;) In my department do we have 4 active branches plus 15-20 inactive which may be revived for maintenance, CRs and the like at any time. These come along with 50-

Re: Is there such as thing template builds

2012-03-21 Thread Jan Seidel
Hi there, try the Configuration Slicing plugin. It is good to have some jobs at hand so that you can see how the interface is designed. I don't feel this obviously designed or user friendly at first glance. But if the interface already has some jobs loaded and shows you what you can change in grou

Re: Job Dependency

2012-03-21 Thread Jan Seidel
Hi Thomas, sure there is. The imagination of yours is more or less the limit of what you can do with Jenkins. Try the parametrized trigger plugin (https://wiki.jenkins-ci.org/ display/JENKINS/Parameterized+Trigger+Plugin) and make your build sensitive to parameters. It is a bit hard to tell you a

Re: Jenkins CollabNet Plugin throw null pointer exception.

2012-03-21 Thread Jan Seidel
Hi Tim, this looks familiar in connection with Collabnet ... But basic steps first. Are you using the a plugin that matches your CTF version? Which plugin are you using? I assume Collabnet Plugins 1.1.6. Which CTF are you running? Does this error occur permanently? My suspicion goes for the CTF s

Re: Restricted job keeps waiting even though the node becomes available

2012-03-20 Thread Jan Seidel
Hi Daniel, I have had a similar issue some weeks ago. The jobs tied to a specific got stuck for infinite time but the node was available. Also the configuration was fine. Actually did nothing change. I have been researching and troubleshooting quite a while and learned that deleting and recreating

Re: How to make variables available to all build steps/action in a job

2012-03-20 Thread Jan Seidel
sorry for the gibberish in the text. I'm a bit tired and in a hurry ... e.g fugred instead of figured ;) On 20 Mrz., 11:56, Jan Seidel wrote: > Hi folks, thanks for you replies :) > > @shanz just fugred it out tonight, was just a bit late to let you > know. > > @Didier y

Re: How to make variables available to all build steps/action in a job

2012-03-20 Thread Jan Seidel
Hi folks, thanks for you replies :) @shanz just fugred it out tonight, was just a bit late to let you know. @Didier your approach won't work as the env variables you are pointing to are somewhat static. You can't modiefy them from within a job at build time. This would require 3 stages. Manipulat

Re: How to make variables available to all build steps/action in a job

2012-03-19 Thread Jan Seidel
Hi Shanz, this script works like a charm :) I have modified it to my needs so the mail body is streamed from a text file but am struggling with a minor problem. The subject remains empty. I tried to assign it a sentence like: subject = "new XX integrations for asia available" with all kind of

Re: How to make variables available to all build steps/action in a job

2012-03-19 Thread Jan Seidel
Hi Shanz, *uhm* mkey... I am not familiar with python but I will give it a try. Seems to be quite convenient to adapt the properties to my needs. Thanks for your feedback :) Take care Jan On 16 Mrz., 16:34, shanz wrote: > I found that a python script gave me more flexibility in what I could >

How to make variables available to all build steps/action in a job

2012-03-16 Thread Jan Seidel
Hi folks, I am going nuts here ... I want to create an action that composes and sends an email notification if a build has been build and was tested successfully. My idea was to implement a promotion into the release build job that has to promoted manually. This way can managers and tester simple

Re: Hudson 2.1.2 + Subversion 1.6 + behind proxy: "build" doesnt pick credentials

2012-03-15 Thread Jan Seidel
Hiya, looks like the SCM server does either not know your machine/user or the authentication method is not supported. have you tried to access the server via plink and stored the finger print? I assume you are using https. So try this: - install plink (e.g. from PuTTy) - open a shell/DOS box - ent

Re: Getting files from workspace via URL during a build

2012-03-15 Thread Jan Seidel
till allows for > concurrence on multiple executors. > > typed on my phone expect typos... > On 15 Mar 2012 09:34, "Jan Seidel" wrote: > > > > > > > > > Hi Danny, > > > let me see if I get it right (bit tired and not woken up > > complete

Re: Getting files from workspace via URL during a build

2012-03-15 Thread Jan Seidel
Hi Danny, let me see if I get it right (bit tired and not woken up completely ;) ): - Your tool has to be supplied with an URL to collect one or more files. - It has to access a job result. - This job has finished to run. - It should always be the latest available file you need to access. - There

Re: upgrade to 1.451 messed up , Jenkins down now.

2012-02-15 Thread Jan Seidel
Nah... As long as you just did a restart is nothing gone. You can find all your jobs in Jenkins/jobs/[Jobname]\config.xml. They contain your configuration for each job. You can take a look into the Jenkins log to see why they didn't load. And this has one good thing ;) This little shock you expe

<    1   2