Re: CustomTool installation issue with large Matrix job (race condition)

2020-11-18 Thread geoffroy...@gmail.com
exit /b 0 ) exit /b 1 ''' } } } } } } timeout(time: 5, unit: 'MINUTES') { parallel(tasks) } On Friday, 13 November 2020 at 17:21:07 UTC+1 geoffroy...@gma

CustomTool installation issue with large Matrix job (race condition)

2020-11-13 Thread Geoffroy J
Hello I have a fairly large matrix job (30 environments). For one matrix environment only, I need to install a dedicated tool (Sonarqube build-wrapper). CustomTool works perfectly fine for this purpose. However, as CustomTool installation is defined as a build wrapper step, it get activated for

Re: warnings-ng plug-in in a matrix job

2019-01-22 Thread Braden McDaniel
xes. > Thanks for pointing out that the plug-in can be directed to a specific file rather than just parsing the console log; I'd overlooked that. The solution in my case was to save off the build log from clang analysis and make it an artifact of the matrix job. It then gets pulled to a multi

Re: warnings-ng plug-in in a matrix job

2019-01-21 Thread Ullrich Hafner
Does the plugin fail the job for the other axes? Or can’t you just pick a file that is empty for the other axes? Currently there is no way to configure different properties for different axes. > Am 21.01.2019 um 19:49 schrieb Braden McDaniel : > > I have a matrix job that builds on

warnings-ng plug-in in a matrix job

2019-01-21 Thread Braden McDaniel
I have a matrix job that builds on multiple compilers/platforms. One of those compilers is clang with static analysis. I have recently discovered the warnings-ng plug-in; and while it seems quite clever, because it operates as a post-build action (and the conditional step plug-in does not

Re: email-ext - jelly script example for matrix job

2017-05-23 Thread seckler
Hi, I've *attached* a file, that is somewhat similar to the file in the wiki (https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin#Email-extplugin-TemplateExamples). Difference is, that it gets the axes from the job automatically and works with an arbitrary number of axes. Best, Steffen

Getting information about a matrix job from a pipeline job

2017-01-25 Thread Teresa Peters
I have a new pipeline job that I want to use to run tests from a matrix job. The matrix job runs a single Calabash test on several nodes associated with a label. I want the pipeline job to be able to tell me what nodes were run and what the result of the test was for each node. Is that possible

Re: Proper practice to migrate multi-configuration (matrix) job to pipeline job?

2016-06-30 Thread Rick Liu
: >> >> I'm planing to migrate Jenkins1 multi-configuration (matrix) job to >> Jenkins2 pipeline (-as-Code) approaches, >> but it seems the pipeline job and multi-branch pipeline job don't support >> multi-configuration (matrix) job directly. >> >> What

Re: Proper practice to migrate multi-configuration (matrix) job to pipeline job?

2016-06-30 Thread Mark Waite
nts, then loop over those values. Mark Waite On Thursday, June 30, 2016 at 1:02:18 AM UTC-6, Rick Liu wrote: > > I'm planing to migrate Jenkins1 multi-configuration (matrix) job to > Jenkins2 pipeline (-as-Code) approaches, > but it seems the pipeline job and multi-branch

Proper practice to migrate multi-configuration (matrix) job to pipeline job?

2016-06-30 Thread Rick Liu
I'm planing to migrate Jenkins1 multi-configuration (matrix) job to Jenkins2 pipeline (-as-Code) approaches, but it seems the pipeline job and multi-branch pipeline job don't support multi-configuration (matrix) job directly. What's the best practice to achieve this? Assume my

Re: Matrix job: execute a certain build step for only a subset of slaves

2015-11-05 Thread Eric Pyle
job: execute a certain build step for only a subset of slaves Hi I have a matrix job that builds our C++ project. I use a matrix job so that I can build simultaneously on various Linux distros, with differing versions of the g++ compiler. I have just one axis, which specifies the slaves. One

RE: Matrix job: execute a certain build step for only a subset of slaves

2015-11-05 Thread David Aldrich
: 05 November 2015 09:43 To: jenkinsci-users@googlegroups.com Subject: Matrix job: execute a certain build step for only a subset of slaves Hi I have a matrix job that builds our C++ project. I use a matrix job so that I can build simultaneously on various Linux distros, with differing versions of

Matrix job: execute a certain build step for only a subset of slaves

2015-11-05 Thread David Aldrich
Hi I have a matrix job that builds our C++ project. I use a matrix job so that I can build simultaneously on various Linux distros, with differing versions of the g++ compiler. I have just one axis, which specifies the slaves. One of the build artefacts requires a 3rd party library that is

Re: immediately fail whole matrix job if one configuration fails

2015-07-16 Thread Simon Haegler
hi, you nailed it - my filter was wrong. thanks & best, simon On Wednesday, 15 July 2015 20:10:27 UTC+2, Simon Richter wrote: > > Hi, > > On 15.07.2015 09:14, Simon Haegler wrote: > > > thanks for your answer. my first attempt to configure touchstone > > configurations failed, i.e. it correct

Re: immediately fail whole matrix job if one configuration fails

2015-07-15 Thread Simon Richter
Hi, On 15.07.2015 09:14, Simon Haegler wrote: > thanks for your answer. my first attempt to configure touchstone > configurations failed, i.e. it correctly prints "touchstone configs > resulted in failure..." at the end but it still ran all configurations?! Then the specificiation is probably br

Re: immediately fail whole matrix job if one configuration fails

2015-07-15 Thread Simon Haegler
> > The usual way is to define one or more "touchstone configurations" that > are built first, and starting the remaining jobs only if these succeeded. > thanks for your answer. my first attempt to configure touchstone configurations failed, i.e. it correctly prints "touchstone configs result

Re: immediately fail whole matrix job if one configuration fails

2015-07-10 Thread Simon Richter
Hi, On 10.07.2015 09:39, Simon Haegler wrote: > is there a way to immediately fail a matrix job as soon as one of its > configuration fails? The usual way is to define one or more "touchstone configurations" that are built first, and starting the remaining jobs only if

immediately fail whole matrix job if one configuration fails

2015-07-10 Thread Simon Haegler
hi group is there a way to immediately fail a matrix job as soon as one of its configuration fails? my motivation is to free up slave resources as early as possible... TIA, simon -- You received this message because you are subscribed to the Google Groups "Jenkins Users"

Publishing a single javadoc from a multiconfiguration/matrix job

2015-04-28 Thread Kevin Moody
Hi All, So, this is a little bit weird, but we have a multi-language, multi-platform build. It is run in Jenkins via one multi-configuration job, with 10 different configurations. Unfortunately, some platform-independent pieces, such as jars and javadocs, are being built on every single conf

Re: email-ext - jelly script example for matrix job

2015-04-03 Thread Kushal Gangan
Hi Doug, Could you please paste that template over here ? As i am not able to get it from the git repo shared by you. Thanks, Kushal Gangan On Monday, 19 March 2012 19:55:07 UTC+5:30, dpreilan wrote: > > Sure. I am not really a java or groovy coder so I am sure there are > ways to improve th

Re: Matrix job

2015-02-03 Thread Baptiste Mathus
ep could help you get >> something like that. >> >> But I'm not sure to understand what you want, what is the "number of >> failed jobs" you want? You mean amonst the total jobs according to the >> combinatorials of the axis? >> > Yes, you got it !

Re: Matrix job

2015-02-02 Thread Jeff MAURY
obs" you want? You mean amonst the total jobs according to the > combinatorials of the axis? > Yes, you got it Jeff > > Cheers > > 2015-02-02 13:45 GMT+01:00 Jeff MAURY >: > >> I have a matrix job with 2 axis (JDK + Eclipse version). It appears that >>

Re: Matrix job

2015-02-02 Thread Baptiste Mathus
02 13:45 GMT+01:00 Jeff MAURY : > I have a matrix job with 2 axis (JDK + Eclipse version). It appears that I > have a lot of false negative builds, mainly due to load or problems with UI > emulation. Is there a way to get the number of failed jobs in the mail > generated ? > > Th

Matrix job

2015-02-02 Thread Jeff MAURY
I have a matrix job with 2 axis (JDK + Eclipse version). It appears that I have a lot of false negative builds, mainly due to load or problems with UI emulation. Is there a way to get the number of failed jobs in the mail generated ? Thanks Jeff -- You received this message because you are

Matrix job with Label expression

2014-09-20 Thread Satpal Chander
HI all, I'm seeing strange behaviour when i'm using a matrix job with the label expressions. I have the following setup: 4 nodes with the following labels: 1. testnode0 - 4gb maintestpool 2. testnode1 - 4gb maintestpool 3. testnode3 - 8gb maintestpool 4. testnode4 - 8gb ma

matrix job select a strange slave

2014-07-01 Thread Guillaume Boucherie
Hi all, I have a strange behavior on my Jenkins (1.554.2). Its configured with a master (no executors) and 3 slaves 2 configure to take all jobs (A and B) and 1 configure for reserved job only (C). Now I have a matrix job with two axis : - for jdk with one value selected - for Selenium

Re: Passing information between parent & child jobs in a matrix job

2014-03-14 Thread Francois Ritaly
I was able to fulfill my need with this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Environment+Script+Plugin -- 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 it, send an ema

Re: Passing information between parent & child jobs in a matrix job

2014-03-14 Thread Francois Ritaly
It seems that this plugin https://wiki.jenkins-ci.org/display/JENKINS/Environment+Script+Plugin could do. -- 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 it, send an email to jenk

Passing information between parent & child jobs in a matrix job

2014-03-14 Thread Francois Ritaly
Hi, I'm trying to implement an automated release process in jenkins relying on the use of a matrix job and the jenkins release plugin. When used with a matrix job, the jenkins release plugin (in its latest version (2.5-SNAPSHOT)) provides a hook named "before matrix build" whi

cleanup of matrix job status table after combination filter changed

2013-08-22 Thread Simon Haegler
hi jenkins users we have a matrix job where we recently changed the combination filter, now the status table (red/blue balls) displays old (invalid) statuses of combinations which are not built anymore. how can we reset those back to grey/neutral, to less confuse our users? thanks, simon

Filter Matrix Job using Extended Choice Parameter

2013-07-25 Thread mwinston
to get this parameter to filter the subsequent Matrix job. ParentJob: Parameter Name: PROGRAM_LIST Parameter Options: opt1, opt2, opt3, opt4 (this is a checkbox select option which allows me to select multiple items). MatrixJob: Single Matrix Name: PROGRAM Single Matrix Options: opt1, opt2, opt3

Re: matrix job axis with parameter

2013-07-09 Thread Noah Gradovitch
> > Note that the plugin is not sandboxed. Anyone who can configure jobs can > run arbitrary code in the context of your Jenkins. > > On 08.07.2013, at 20:23, Noah Gradovitch > > wrote: > > > Hi All, > > > > I am trying to create a matrix job. &g

Re: matrix job axis with parameter

2013-07-08 Thread Daniel Beck
d'). Note that the UI seems wrong between saving and the first build, showing only 'default'. --- Note that the plugin is not sandboxed. Anyone who can configure jobs can run arbitrary code in the context of your Jenkins. On 08.07.2013, at 20:23, Noah Gradovitch wrote: > Hi All, &g

matrix job axis with parameter

2013-07-08 Thread Noah Gradovitch
Hi All, I am trying to create a matrix job. But while for one axis my values are predefined for the other axis my value depends on a parameter that the job that triggers my job pass. I have tried using groovy axis plugin and read this parameter by using: def build = Thread.currentThread

stop "source code management" and "delete workspace before build starts" on parent build of matrix job

2013-01-30 Thread Chris Withers
Hi All, How can I stop the "source code management" and "delete workspace before build starts" steps, and indeed *any* steps from happening on the parent build of a matrix job? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consu

Re: jobs aborted [matrix job] (jenkins 1.495)

2013-01-24 Thread CHAVANNE Robert
Slide gmail.com> writes: > > > Can you post your build log? I'd like to see why it aborted during the sending of the email. If you downgrade Jenkins to 1.493, do you still see the issue? > Thanks, > > > slide Build log is quite large. Looking at it, it seems that I misunderstood something.

Re: jobs aborted [matrix job] (jenkins 1.495)

2013-01-24 Thread Slide
Can you post your build log? I'd like to see why it aborted during the sending of the email. If you downgrade Jenkins to 1.493, do you still see the issue? Thanks, slide On Thu, Jan 24, 2013 at 6:52 AM, CHAVANNE Robert wrote: > email-ext (v 2.25), why? > > > -- Website: http://earl-of-code.

Re: jobs aborted [matrix job] (jenkins 1.495)

2013-01-24 Thread CHAVANNE Robert
email-ext (v 2.25), why?

RE: jobs aborted [matrix job] (jenkins 1.495)

2013-01-24 Thread Alex Earl
Are you using mailer or email-ext? Sent from my Windows Phone From: CHAVANNE Robert Sent: 1/24/2013 8:39 PM To: jenkinsci-users@googlegroups.com Subject: jobs aborted [matrix job] (jenkins 1.495) Hello, I'm working under Jenkins version 1.495. I have a matrix project that usually works fi

jobs aborted [matrix job] (jenkins 1.495)

2013-01-24 Thread CHAVANNE Robert
Hello, I'm working under Jenkins version 1.495. I have a matrix project that usually works fine. I built it with a 4000 size matrix. Everything went fine except email notifications and the build was marked as "aborted". Moreover, console output were not recorded. Does anyone know if there is a lim

Re: matrix job aggregation

2013-01-12 Thread Jon Schewe
I can't point you at any docs, but I've setup email-ext like I do for regular jobs and I get one email for each multi-config job and one for the overall job. I changed the template to put the logs in my email-ext emails and each email contains the logs. I haven't tried putting test results in the e

matrix job aggregation

2013-01-11 Thread Chris Withers
(no response to this first time round, so trying again) Hi, What's the correct way to do aggregation in matrix jobs? I've configured the email ext plugin to send out emails, and I'd expect either: - one email from the whole multi-config job combining stuff from all the elements in the matri

matrix job aggregation

2012-11-29 Thread Chris Withers
Hi, What's the correct way to do aggregation in matrix jobs? I've configured the email ext plugin to send out emails, and I'd expect either: - one email from the whole multi-config job combining stuff from all the elements in the matrix - one email from each of the elements in the matrix i

Re: Switching a matrix job between two matrix sets with a parameter?

2012-09-07 Thread Benjamin Lau
{SUBSET}"=="Set3" && ) It worked like a charm. Thanks again for the assistance! Ben On Fri, Aug 31, 2012 at 10:27 AM, cjo wrote: > The groovy filter expression is the same as you would specify in Combination > filter of the matrix job > and is applied on top of t

Runtime of matrix job

2012-09-07 Thread Andrew Melo
Hello, Would it be possible to have matrix jobs report their run length as the maximum length of the sub-jobs and not the amount of time it takes the master job to complete? If there's not enough slaves to run every subjob immediately, the jobs appear to take hours to run when actually they ran in

Re: Switching a matrix job between two matrix sets with a parameter?

2012-08-31 Thread cjo
The groovy filter expression is the same as you would specify in Combination filter of the matrix job and is applied on top of the combination filteer already set for the matrix job. So as you have 3 axis with multiple items. e.g. TARGET = target_a, target_b SIGNING = release, development

Re: Switching a matrix job between two matrix sets with a parameter?

2012-08-31 Thread Benjamin Lau
g/display/JENKINS/Parameterized+Trigger+Plugin >> >> Chris >> >> >> On Thursday, August 30, 2012 5:23:04 PM UTC+1, benjamin.a.lau wrote: >>> >>> Hello, >>> >>> Say I've got a matrix job with 2x2x15 jobs. For some builds I would &

Re: Switching a matrix job between two matrix sets with a parameter?

2012-08-31 Thread Benjamin Lau
5:23:04 PM UTC+1, benjamin.a.lau wrote: >> >> Hello, >> >> Say I've got a matrix job with 2x2x15 jobs. For some builds I would >> like to have this run as a 2x1x1 matrix instead. Is there an easy way >> to change the job's combination filter via a parameter or

Re: Switching a matrix job between two matrix sets with a parameter?

2012-08-31 Thread cjo
:04 PM UTC+1, benjamin.a.lau wrote: > > Hello, > > Say I've got a matrix job with 2x2x15 jobs. For some builds I would > like to have this run as a 2x1x1 matrix instead. Is there an easy way > to change the job's combination filter via a parameter or something > li

Switching a matrix job between two matrix sets with a parameter?

2012-08-30 Thread Benjamin Lau
Hello, Say I've got a matrix job with 2x2x15 jobs. For some builds I would like to have this run as a 2x1x1 matrix instead. Is there an easy way to change the job's combination filter via a parameter or something like that? I tried passing in the combination filter as a build parame

Re: Need a way to pass parameter to slave builds in a matrix job

2012-07-17 Thread Owen B. Mehegan
and then grab the appropriate package for the appropriate hosts. > > What I need is a way to increment the version number in one place, and > then distribute that to all the nodes that run the build steps of the > matrix job. I can even handle generating the version number independen

Need a way to pass parameter to slave builds in a matrix job

2012-07-17 Thread Owen B. Mehegan
wants to ingest one version number, and then grab the appropriate package for the appropriate hosts. What I need is a way to increment the version number in one place, and then distribute that to all the nodes that run the build steps of the matrix job. I can even handle generating the version n

Re: NPE in Matrix job

2012-07-09 Thread Andrew Melo
On Mon, Jul 9, 2012 at 9:02 AM, Andrew Melo wrote: > Hello, > > For jenkins version 1.473, a job that previously worked is now failing with: > > SEVERE: Failed Loading job WMCore-UnitTests-try > java.lang.NullPointerException > at > hudson.matrix.MatrixProject.updateTransientActions(Matri

NPE in Matrix job

2012-07-09 Thread Andrew Melo
Hello, For jenkins version 1.473, a job that previously worked is now failing with: SEVERE: Failed Loading job WMCore-UnitTests-try java.lang.NullPointerException at hudson.matrix.MatrixProject.updateTransientActions(MatrixProject.java:431) at hudson.model.AbstractProject.onLoad(

Re: email-ext - jelly script example for matrix job

2012-03-19 Thread dpreilan
Glad I could give back. Thanks for the plugin. On Mar 19, 11:26 am, Slide wrote: > This is awesome. Thanks for sharing! I've heard of several people who would > like to do something like this. I'll try and add it to the wiki for > email-ext. > > slide > > > > > > > > > > On Mon, Mar 19, 2012 at 7

Re: email-ext - jelly script example for matrix job

2012-03-19 Thread Slide
This is awesome. Thanks for sharing! I've heard of several people who would like to do something like this. I'll try and add it to the wiki for email-ext. slide On Mon, Mar 19, 2012 at 7:25 AM, dpreilan wrote: > Sure. I am not really a java or groovy coder so I am sure there are > ways to impro

Re: email-ext - jelly script example for matrix job

2012-03-19 Thread dpreilan
Sure. I am not really a java or groovy coder so I am sure there are ways to improve this code. To explain, the job and email. I have matrix jobs that build for various 'toolchains' and architectures (ia32, x86_64, and ia64). I created generic axis names (AXIS1, and AXIS2) because of some unique nam

Re: email-ext - jelly script example for matrix job

2012-03-15 Thread Slide
Can you post your template for posterity? On Mar 15, 2012 2:51 PM, "dpreilan" wrote: > I decided to code this as a groovy script and invoke in the content > section. For example: > ${SCRIPT,template="my-matrix-build-msg.template"} > > Slide, I looked back on some information you gave me last year

Re: email-ext - jelly script example for matrix job

2012-03-15 Thread dpreilan
I decided to code this as a groovy script and invoke in the content section. For example: ${SCRIPT,template="my-matrix-build-msg.template"} Slide, I looked back on some information you gave me last year. Thanks again! I just had to work my way thru understanding jenkins objects. Doug On Mar 13,

Re: email-ext - jelly script example for matrix job

2012-03-13 Thread Slide
There is already an issue filed for something like this, I don't believe its currently doable. On Mar 13, 2012 8:25 AM, "dpreilan" wrote: > I want to extend my email-ext template to report more meaningful > reports for some matrix jobs > > In addition, I want to change so instead of a bunch of se

email-ext - jelly script example for matrix job

2012-03-13 Thread dpreilan
I want to extend my email-ext template to report more meaningful reports for some matrix jobs In addition, I want to change so instead of a bunch of separate emails (12 in my case) for each matrix, 1 email from 'parent' job that contains status and information for the individual matrix runs. Anyb