Re: jenkins pipeline dsl - executing a list/map of nodes

2017-04-27 Thread dpreilan
Anybody familiar with internals of 'parallel' or can point me to in source it is implemented? Thanks, Doug On Wednesday, April 26, 2017 at 6:30:10 PM UTC-4, dpreilan wrote: > > > Hey, I am building a map of nodes to run in parallel. > This works fine: > > parallel unit.build_n

jenkins pipeline dsl - executing a list/map of nodes

2017-04-26 Thread dpreilan
Hey, I am building a map of nodes to run in parallel. This works fine: parallel unit.build_nodes However, I am trying to flexible for some jobs that are memory/cpu intensive and NOT in parallel. I want my library/dsl code to be same and do something like: if (do_parallel) { parallel

jenkins-job-builder user converting to dsl (maybe pipeline)

2017-04-11 Thread dpreilan
Victor, thanks for reply. I don't know how to read that link to determine plug in support. Is it accessing the API viewer on my server? If yes, I see the persistent parameter plugin listed If there is no way to make it work, is there a way to read from a file to get value and alter the

jenkins-job-builder user converting to dsl (maybe pipeline)

2017-04-11 Thread dpreilan
Have a lot of jobs created with jenkins-jobs-builder that it is proving difficult to maintain. Looking to move to dsl and possibly pipeline-dsl. Most of jobs have the following logic: - ability to build debug and/or release builds - manually invoked or scm triggered - ability to select

weird url using git plugin and variables

2013-12-05 Thread dpreilan
I was changing my jobs to be more portable. I have a multijob job that gets triggered by gerrit and the GERRIT_* parameters get set and passed down to jobs. I changed my git url in a job to: ssh://${GERRIT_HOST}:${GERRIT_PORT}/${GERRIT_PROJECT} The job fails and looking at output: I see:

Re: email-ext - request for another jelly script example

2012-03-27 Thread dpreilan
Create your groovy script and place in under your $JENKINS_HOME/email- templates. Create the email-templates directory if needed. Say you call it foo.template. In your jenkins job(s), configure your Editable Email Notification Content area, like: ${SCRIPT,template=foo.template} Make sure you

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

2012-03-19 Thread dpreilan
:51 PM, dpreilan dreil...@gmail.com 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. Thanks again! I just had to work my

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

2012-03-19 Thread dpreilan
, 2012 at 7:25 AM, dpreilan dreil...@gmail.com wrote: 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