Re: Reload Job config.xml programmatically

2012-07-27 Thread Michaël Pailloncy
I've tried : AbstractItem item = (AbstractItem) Jenkins.getInstance().getItem(myjob); File directoryConfigXml = item.getConfigFile().getFile().getParentFile(); Item updatedItem = Items.load(item.getParent(), directoryConfigXml); Jenkins.getInstance().putItem((TopLevelItem)updatedItem); It works,

plugin development - f:repeatable with specific action button

2012-07-27 Thread mpapo - Michaël Pailloncy
Hi, I've a problematic concerning f:repeatable. I would like to add specifics action button on each element I've tried : f:repeatable name=items items=${it.items} var=item noAddButton=true minimum=0 table

Re: Reload Job config.xml programmatically

2012-07-27 Thread Frederik Fromm
My best try to update jobs' config was using a groovy script with the groovy plugin. Create a job object from an xml file using XStream.fromXml and then create or get a job from your jenkins instance, store the values of the loaded properties into the second job instance and do job.save(). That

Re: New plugin: job-dsl-plugin

2012-07-27 Thread nicolas de loof
Indeed, the CI job is supposed to get triggered on commit to github but ... there is a bug with cloudbees infra that prevent the hook to get registered. KK will look at this as soon he's back from JUC tokyo 2012/7/27 Justin Ryan quidr...@gmail.com When I try to access the cloudbee's build of my

Re: Reload Job config.xml programmatically

2012-07-27 Thread Michaël Pailloncy
Thanks a lot ! I just watched the configuration slicing plugin thinking it might help me. But like your solution, it needs to knows which properties to modify. I'm in a case that I know that the config.xml file has been modified, but I don't anything about what was modified. Any other suggestion

Re: Reload Job config.xml programmatically

2012-07-27 Thread Stephen Connolly
load the xml from disk and POST it to jenkins_url/jobs/___/config.xml On 27 July 2012 09:16, Michaël Pailloncy mpapo@gmail.com wrote: Thanks a lot ! I just watched the configuration slicing plugin thinking it might help me. But like your solution, it needs to knows which properties to

Re: Reload Job config.xml programmatically

2012-07-27 Thread Michaël Pailloncy
I'm developing a plugin, so I'm server side and have access to all Jenkins objects. It is really necessary to do it like that? 2012/7/27 Stephen Connolly stephen.alan.conno...@gmail.com load the xml from disk and POST it to jenkins_url/jobs/___/config.xml On 27 July 2012 09:16, Michaël

Re: Reload Job config.xml programmatically

2012-07-27 Thread Michaël Pailloncy
Ok ! thank you very much, I'll study this solution. 2012/7/27 Stephen Connolly stephen.alan.conno...@gmail.com nope but you could make the equivalent call to the do___ method On 27 July 2012 10:12, Michaël Pailloncy mpapo@gmail.com wrote: I'm developing a plugin, so I'm server side and

Showing an already generated HTML page structure in Jenkins report

2012-07-27 Thread Ognjen Bubalo
Hi, I have an already generated HTML page structure (by JaCoCo) and I would like to show it on Jenkins (using the plugin). It contains some tables. What would you recommend? How should I do this? The best would be if I could show exactly whats on that HTML page, but it contains some links and

2 small issues with LTS 1.466.1

2012-07-27 Thread Jorg Heymans
Hi, I upgrade our CI server to the latest release from http://mirrors.jenkins-ci.org/war-stable/1.466.1/ , and so far we've discovered 2 small issues. This is Jenkins running on weblogic 10.3.4. 1) Adding a pre-build step in a maven project of type 'Invoke top level maven targets' always has

Re: Showing an already generated HTML page structure in Jenkins report

2012-07-27 Thread Mark Waite
You might try the HTML Publisher plugin to present the HTML pages in Jenkins which have been generated by another program. https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin  Mark Waite From: Ognjen Bubalo ognjen.bub...@gmail.com To:

Re: Verify downloaded jpi-files

2012-07-27 Thread nicolas de loof
update center (http://updates.jenkins-ci.org/download/plugins/) don't includes md5 / sha1 checksums afaik, but this would be a good addition for your use case and many others to avoid broken installations due to errors during plugin download. 2012/7/27 Fredrik Orderud forde...@gmail.com

Re: Verify downloaded jpi-files

2012-07-27 Thread Fredrik Orderud
Verifying a MD5/SHA1 hash would of course be a bullet proof solution, but a simpler check against the in-built JAR/ZIP-file CRC-32 checksum would probably be good enough in most situations. I'm pretty sure that a CRC-32 check is triggered by just attempting to open the file. kl. 14:35:57

Re: subversion plugin not for concurrent builds?

2012-07-27 Thread Frederik Fromm
Hi, we really have problems with the svn checkouts on concurrently running builds. I just want to know, if the svnexternals.txt must be located on the master. Otherwise I will patch it to be located in the build's workspace. Thanks Frederik 2012/7/25 ffromm frederik.fr...@gmail.com Hi, we

Plugin for the bitbake and OpenEmbedded combo

2012-07-27 Thread Bue Petersen
Hi Jenkins devs Do someone know of any activity regarding a plugin or setup for building embedded linux with bitbake and OpenEmbedded ? Or any other setup like that? Below is my mail to the jenkins userlist asking for tips on how other might be doing it. My setup is also explained there. We

Re: leiningen plugin

2012-07-27 Thread Pierre-Yves Ritschard
hi guys, i hope you don't mind me bumping this thread :) On Monday, July 23, 2012 8:36:50 PM UTC+2, nicolas de loof wrote: no, I'll look into this asap 2012/7/23 Pierre-Yves Ritschard p...@spootnik.org Is a next step expected from me to fix the commiter team creation ? On Friday, July

REMOVE ME

2012-07-27 Thread DNCranmer
Dan Cranmer DST Output (916) 941-4136 dncran...@dstoutput.com From: Pierre-Yves Ritschard p...@spootnik.org To: jenkinsci-dev@googlegroups.com Date: 07/27/2012 11:30 AM Subject: Re: leiningen plugin Sent by: jenkinsci-dev@googlegroups.com hi guys, i hope you don't mind me bumping this

Re: Verify downloaded jpi-files

2012-07-27 Thread Jesse Glick
On 07/27/2012 08:58 AM, Fredrik Orderud wrote: a simpler check against the in-built JAR/ZIP-file CRC-32 checksum would probably be good enough in most situations Even simpler: check if the file starts with 0x50 0x4b 0x03 0x04, the ZIP magic. If not, it is some junk like an error page which

Re: RC for LTS 1.466.1 // was: Re: Backports to LTS 1.446.1

2012-07-27 Thread Jesse Glick
On 07/19/2012 05:36 PM, Kohsuke Kawaguchi wrote: Mirror job needed to run. It's all fixed now. [1] http://ci.jenkins-ci.org/view/Infrastructure/job/infra_mirroring/ The main site still lists 1.447.2 as LTS.

iChineseFlashcards helps you learn Chinese (Mandarin) faster by using flashcards with pictures

2012-07-27 Thread iChineseFlashcards iPhone App
http://goo.gl/DquX8 - iChineseFlashcards is an iPhone app that will help you learn Chinese (Mandarin) faster by using flashcards with pictures (learn over 300 most commonly used words in the English / Chinese language from A to Z), thanks.