Re: How to pass a multiline parameter to jenkins cli build

2015-12-14 Thread DGaudet
I have identified a solution that works :) When exporting the env variable, hit the enter key on the command line and keep adding lines and then close the quotes on the least line. This would look like the following: *prompt:> export mycs='element /reuse /main/LATEST* *> element /reuse/ip

How to pass a multiline parameter to jenkins cli build

2015-12-11 Thread Denis Gaudet
Hey folks, I'm trying to pass a multiline parameter to a build from a BASH command line. My command looks like this: /java -jar ~/files/jenkins-cli.jar -s http://  build -s 'Fundamental/math-flex' -p DESCRIPTION="$mydesc" -p configspec_elements="$mycs"/ I have exported both variables as: