Re: Reading HTTP request body from triggered parameterized job

2013-09-19 Thread Alex Kira
Yeah I figured it would be the case, but wanted to check just in case. I ended up writing a proxy that will translate Gitlab webhook requests and send the JSON as a "payload" parameter to another url specified by a url param (which would be Jenkins job trigger). It will also send a few other

Re: Is there any way to get the current status of all jobs in one mail

2013-09-19 Thread Slide
Yes, you can do this. I do this right now where I have a job that runs after all my other jobs have completed (I used Build-Flow for this). The job has a groovy template that loops through all the jobs in Jenkins, filters the ones I really want to see and creates a table with all the job informatio

Re: Is there any way to get the current status of all jobs in one mail

2013-09-19 Thread Adam Daughterson
This is how I would do it: http://techkriti.wordpress.com/2008/08/30/using-groovy-with-hudson-to-send-rich-text-email/ On Thursday, September 19, 2013 1:34:17 AM UTC-6, pradeep kattekola wrote: > > > Hi Friends, > > I have multiple jobs in Jenkins and i get proper mail when the build gets > exec

Re: Is there any way to get the current status of all jobs in one mail

2013-09-19 Thread Samuel Pereira
Hi, if you get, you could create a plugin. =) Em quinta-feira, 19 de setembro de 2013 07h18min33s UTC-3, Nick Stolwijk escreveu: > > You can extract the data using the Jenkins API. [1] Converting this to an > e-mail should be possible using any programming language. > > [1] https://wiki.jenkins-

Combine value from previously defined axis to create GroovyAxis

2013-09-19 Thread Adam Daughterson
I have a user-defined axis called VERSION containing values "A B C", and I would like to create a GroovyAxis with values which are cobbled together based on values in the VERSION axis. Something like (in pseudocode) def ret = []; ret += "foo_" + VERSION ret += "bar_" + VERSION ret += "baz_" + V

Re: email-ext 2.34 not including sample templates

2013-09-19 Thread Vincent Latombe
Hi, i think there has been a change recently about how plugin are packaged. Check if there is a classes.jar under WEB-INF/lib in the plugin, you will probably find the templates there. Cheers, Vincent 2013/9/19 jaziniho > Hi, > > I've just downloaded and installed email-ext 2.34 on a recentl

Re: email-ext 2.34 not including sample templates

2013-09-19 Thread Slide
They are in the jpi file (copy and rename to .zip) then look in WEB-INF/classes/hudson/plugins/emailext/templates On Thu, Sep 19, 2013 at 7:05 AM, jaziniho wrote: > Hi, > > I've just downloaded and installed email-ext 2.34 on a recently setup > jenkins instance. > The documentation refers to sa

Best plugin to use for pre build-name-setter build step

2013-09-19 Thread Ng, Jeff
I have been using the build-name-setter plugin (v1.3) for over a year now using the PROPFILE macro. The only issue I've had with it is that it fails the build if the PROPFILE is missing from the workspace (JENKINS-13509). Most of the time, the file exists because I have a post-build task that

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Daniel Beck
On 19.09.2013, at 20:47, nicolas de loof wrote: > it's just about using the adequate jenkins API > Jenkins.instance.getItemByFullName("job").scheduleBuild(...) Let's make this into a real example. Execution of two other jobs (in parallel even) below, plus copying their artifacts, all within a G

Re: resctrict number of jobs at a time

2013-09-19 Thread Tânia Magalhães
Thanks! That is exactly what I need. Segunda-feira, 9 de Setembro de 2013 10:28:46 UTC+1, matthew...@diamond.ac.uk escreveu: > > Use this plugin: > https://wiki.jenkins-ci.org/display/JENKINS/Throttle+Concurrent+Builds+Plugin > > > > *From:* jenkins...@googlegroups.com [mailto: > jenkins

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread nicolas de loof
2013/9/19 Les Mikesell > On Thu, Sep 19, 2013 at 12:36 PM, nicolas de loof > wrote: > > > >> > The very first time I read about Build Flow I also thought it to be a > >> > DSL > >> > for specifying complex steps in a job. > >> > >> Maybe it was wishful thinking, because that seems to be what I n

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Les Mikesell
On Thu, Sep 19, 2013 at 12:36 PM, nicolas de loof wrote: > >> > The very first time I read about Build Flow I also thought it to be a >> > DSL >> > for specifying complex steps in a job. >> >> Maybe it was wishful thinking, because that seems to be what I need. > > > It's not, it's a tool to orche

Re: Reading HTTP request body from triggered parameterized job

2013-09-19 Thread JonathanRRogers
On Wednesday, September 18, 2013 5:46:15 PM UTC-4, Alex Kira wrote: > > Hi, > > Is there a way to read the request body from a triggered job? I am trying > to integrate with another service that posts the request parameters as JSON > in the raw body. > > This is a curl request that generate

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread nicolas de loof
2013/9/19 Les Mikesell > On Thu, Sep 19, 2013 at 10:41 AM, Schalk W. Cronjé > wrote: > > The very first time I read about Build Flow I also thought it to be a DSL > > for specifying complex steps in a job. > > Maybe it was wishful thinking, because that seems to be what I need. > It's not, it's

Re: Perforce Plugin

2013-09-19 Thread mark_kendzior
In the "Advanced" option for Perforce do you have the "Always Force Sync" checked? I also have the "Clean Workspace Before Each Build" checked with the full Wipe option. Not sure if that is necessary. We revert our build VM to a clean state before each build and out files sync fine with this

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Les Mikesell
On Thu, Sep 19, 2013 at 10:41 AM, Schalk W. Cronjé wrote: > The very first time I read about Build Flow I also thought it to be a DSL > for specifying complex steps in a job. Maybe it was wishful thinking, because that seems to be what I need. >It was only when I started to play > with it that I

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Slide
That's what I do. I have my hourly/nightly checks kick off a job that uses the Build Flow plugin to build other projects. It's worked very well for me so far. I had issues with the trigger parameterized build and other plugins, but using the Build Flow plugin in the method I described has been a li

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Les Mikesell
On Thu, Sep 19, 2013 at 8:28 AM, nicolas de loof wrote: > build flow is a flightweight task, supposed to orchestrate jobs, not to > archive content or manage a workspace. > It can be triggered by commit hooks, best option. I guess I don't understand having a jenkins job that isn't really a jenki

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Schalk W . Cronjé
The very first time I read about Build Flow I also thought it to be a DSL for specifying complex steps in a job. It was only when I started to play with it that I came to realise that it was actually a tool for the orchestrating multiple jobs. So you are not alone in your I initial perceptions.

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Les Mikesell
On Thu, Sep 19, 2013 at 10:16 AM, Slide wrote: > That's what I do. I have my hourly/nightly checks kick off a job that uses > the Build Flow plugin to build other projects. It's worked very well for me > so far. I had issues with the trigger parameterized build and other plugins, > but using the B

email-ext 2.34 not including sample templates

2013-09-19 Thread jaziniho
Hi, I've just downloaded and installed email-ext 2.34 on a recently setup jenkins instance. The documentation refers to sample jelly scripts which can be found: plugins/email-ext/WEB-INF/classes/hudson/plugins/emailext/templates/ However, I've checked my installation and there are no such templa

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread nicolas de loof
build flow is a flightweight task, supposed to orchestrate jobs, not to archive content or manage a workspace. It can be triggered by commit hooks, best option. 2013/9/19 Les Mikesell > On Thu, Sep 19, 2013 at 12:16 AM, nicolas de loof > wrote: > > I removed workspace in HEAD, previous version

Re: Build Flow Plugin and artifacts management in the DSL

2013-09-19 Thread Les Mikesell
On Thu, Sep 19, 2013 at 12:16 AM, nicolas de loof wrote: > I removed workspace in HEAD, previous version of plugin extend a classic job. Doesn't the triggering svn check need that space? And probably other triggering options, as well as the ability to archive anything it produces? I don't

Re: Is there any way to get the current status of all jobs in one mail

2013-09-19 Thread Nick Stolwijk
You can extract the data using the Jenkins API. [1] Converting this to an e-mail should be possible using any programming language. [1] https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your t

Re: Is there any way to get the current status of all jobs in one mail

2013-09-19 Thread pradeep kattekola
any solution friends? On Thursday, September 19, 2013 1:04:17 PM UTC+5:30, pradeep kattekola wrote: > > > Hi Friends, > > I have multiple jobs in Jenkins and i get proper mail when the build gets > execute through Email-ext plugin. But is there any way to gets the > > Consolidate report of all

Error while checking out sources from SVN using Jenkins SVNkit client

2013-09-19 Thread Mehdi Hayani
Hi team, Recently, I'm getting this error when trying to checkout sources from svn using Jenkins SVNkit client: Caused by: javax.net.ssl.SSLException: SSL peer shut down incorrectly And this happens at some point during the checkout. I've attached the log file, in case you need more info about

Is there any way to get the current status of all jobs in one mail

2013-09-19 Thread pradeep kattekola
Hi Friends, I have multiple jobs in Jenkins and i get proper mail when the build gets execute through Email-ext plugin. But is there any way to gets the Consolidate report of all jobs current results? Thanks, Prathip -- You received this message because you are subscribed to the Google

Re: java.lang.OutOfMemoryError: PermGen space

2013-09-19 Thread Thomas
For information, I added "-XX:MaxPermSize=512m -Xms512m -Xmx1024m " in the section of the jenkins.xml (windows service definition) file in the jenkins home directory. This file allows to pass arguments to jenkins' JVM. No error occurred since :) Thanks for your help, Thomas Le lundi 16 sep