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://<my jenkins url>  build -s
'Fundamental/math-flex' -p DESCRIPTION="$mydesc" -p
configspec_elements="$mycs"/

I have exported both variables as:

/export mydesc='Dry run'
export mycs='element /reuse /main/LATEST\nelement /reuse/ip /main/LATEST'/

When this gets into the jenkins job, the $mycs looks like this:

/element /reuse /main/LATEST\nelement /reuse/ip /main/LATEST/

I was hoping/expecting the "\n" to have been expanded, but, it wasn't ;(

How else can I get multiple lines trough the CLI interface?

Thanks in advance for your help!

Denis

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e8f45e80-4a3c-4e9c-a04b-6dd56b8d5472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to