Am Dienstag, 13. November 2018 00:23:02 UTC+1 schrieb Martin d'Anjou:
>
> I doubt that would fix it, I was curious and try it. Jenkins trims, but it 
> does not split the value on spaces.
>
> The problem might be on how you pass the value to your python script. Can 
> you share that?
>
>
Just to show some problematic ways: 

somescript $parms  
 -> here the shell (not jenkins or python) will split the arguments on 
spaces so you need to quote them
somescript "$params"
 -> now it is a single string, possibly with spaces

or use :

 os.environ.get['params'] inside your script to get the full string.

Björn

-- 
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/1c510222-af7f-4955-a4ff-2b5fdc126f19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to