Is there a trim method in the string parameter ?

2019-03-06 Thread Mike Craig
Hello, For clear text data entry I'd like to be able to enable a 'trim' feature. This page doesn't document one: https://jenkins.io/doc/book/pipeline/syntax/#parameters I would like something like this, does it exist? I couldn't get the below to work for me. parameters { string(name: 'compon

Jenkins Pipeline: Variable expansion issues

2019-03-11 Thread Mike Craig
Hello, The following snippet from my pipeline is acting very strangely, the values from the print statements are correct print "asgName: $asgName" print "asgMax: $asgMax" print "asgMin: $asgMin" asgIncrease = (asgMax * 2) print "S

Re: Jenkins Pipeline: Variable expansion issues

2019-03-12 Thread Mike Craig
rs? > > > > HTH Reinhold > > > > *From:* jenkins...@googlegroups.com < > jenkins...@googlegroups.com > *On Behalf Of *Mike Craig > *Sent:* Montag, 11. März 2019 23:33 > *To:* Jenkins Users > > *Subject:* Jenkins Pipeline: Variable expansion issues >

Perforce-Plugin: How to use variables in the client/view spec?

2014-04-10 Thread Mike Craig
Hello, I'm trying to make the Perforce Plugin's view spec more dynamic by including an Environment variable in the spec, but it doesn't' seem to work the way I would expect. Our specs usually include the Release name: //base/products/branch/v1.Main/... //VMWIN2K801/products/branch/v1.Main/...

Re: Jenkins Plugin for Web.Config Replacement

2014-04-10 Thread Mike Craig
I use a batch process using this project: https://configgen.codeplex.com/ On Tuesday, April 8, 2014 10:40:09 AM UTC-7, award wrote: > > I apologize if this has already been discussed or resolved in advance; > however, I can't seem to find the answer i'm looking for. Maybe I'm not > asking it

Createing job through CLI

2014-07-02 Thread Mike Craig
Hello, I am using the Jenkins CLI to pull down a list of 'template' jobs, search and replace for our release version, then "create" a job using the job XML which I have pulled from Jenkins. The template job uses "promoted builds" plugin to have CI, "Directed Build", ReleaseCandidate, ReleasetoPro

How to copy existing 'template' job to create new build job

2014-07-15 Thread Mike Craig
Hello, I have previously used the Jenkins CLI to create a new job from a template. However, (known issue) I am unable to copy Promoted Builds steps as part of this. So I have gone down the path of trying to robocopy the template job to a new job name, and search/replace values within. For some

Re: How to copy existing 'template' job to create new build job

2014-07-16 Thread Mike Craig
For anyone interested, I followed my intuition and change the command that writes the config file back out to force UTF8 encoding. This fixed it. The updated file is attached. On Tuesday, July 15, 2014 11:43:20 AM UTC-7, Mike Craig wrote: > > Hello, > > I have previously used

Pipeline: How to modify Build History status monitor

2019-02-27 Thread Mike Craig
Hello, Prior to using declarative pipeline, we were able to modify the Build History to indicate information we wanted to see. We are using a shared "terraform-deploy" pipeline now and would like to modify this build history to display which project (aka component) was built in that run. [imag

Re: Pipeline: How to modify Build History status monitor

2019-02-28 Thread Mike Craig
Perfect, thank you for the reference! Having a "how-to" question, and mapping that to a documentation section is the hardest part for me. :) On Wed, Feb 27, 2019 at 10:55 PM Andreas Magnusson < andreas.ch.magnus...@gmail.com> wrote: > Not quite sure what you want to do, but we modify currentBuild

Re: Pipeline: How to modify Build History status monitor

2019-02-28 Thread Mike Craig
us = 'success' > } > > Greets > > > > Ursprüngliche Nachricht > Von: Mike Craig > Datum: 27.02.19 23:12 (GMT+01:00) > An: Jenkins Users > Betreff: Pipeline: How to modify Build History status monitor > > Hello, > > Prior to usin