Re: How to set Jenkins environment variables containing spaces?

2017-01-16 Thread Slide
Did you try putting those values in quotes?

On Mon, Jan 16, 2017, 06:40 nada abdelkader 
wrote:

> Thks for your answer, but that's not what I am looking for.
>
> I'm trying to set an environment var on Jenkins that can have many values.
> I'm looking for a separator (other than white space) to set these values 
> (Jenkins->manage
> Jenkins->configure System -> Global properties -> Environment variables),
> because some of my values have spaces.
>
>
>
> Le samedi 14 janvier 2017 18:59:09 UTC+1, Victor Martinez a écrit :
>
> If you ask how to search spaces in a particular string then this is not
> the right mailing list to ask for and there are plenty of information on
> internet about parsing/grepping/searching spaces in strings, such as:
>
> -
> http://unix.stackexchange.com/questions/81916/how-to-find-a-space-in-a-text-using-grep
>
> Otherwise, I didn't understand exactly your question though.
>
> Cheers
> On Thursday, 12 January 2017 14:07:48 UTC, nada abdelkader wrote:
>
> Hello,
>
> I have some env variables to configure (Jenkins->manage Jenkins->configure
> System -> Global properties -> Environment variables) in Jenkins (1.632)
> which take a list of values.
>
> I know that I have to list the values in the value field but what I need
> to know is if one of these values contains already spaces, what should I do?
> For example:
> my variable name: MY_VAR
> my values: vaule 1, value 2, value 3,...
>
> thks
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/fa5a6594-e6af-4824-bf24-0339d00320db%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAPiUgVfkotYcNzOoU-HOT6C3VG%3DPyy6-yy6WRE5GePz%2B5-VLrQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set Jenkins environment variables containing spaces?

2017-01-16 Thread nada abdelkader
Thks for your answer, but that's not what I am looking for.

I'm trying to set an environment var on Jenkins that can have many values. 
I'm looking for a separator (other than white space) to set these values 
(Jenkins->manage 
Jenkins->configure System -> Global properties -> Environment variables), 
because some of my values have spaces.



Le samedi 14 janvier 2017 18:59:09 UTC+1, Victor Martinez a écrit :
>
> If you ask how to search spaces in a particular string then this is not 
> the right mailing list to ask for and there are plenty of information on 
> internet about parsing/grepping/searching spaces in strings, such as:
>
> - 
> http://unix.stackexchange.com/questions/81916/how-to-find-a-space-in-a-text-using-grep
>
> Otherwise, I didn't understand exactly your question though.
>
> Cheers
> On Thursday, 12 January 2017 14:07:48 UTC, nada abdelkader wrote:
>>
>> Hello,
>>
>> I have some env variables to configure (Jenkins->manage 
>> Jenkins->configure System -> Global properties -> Environment variables) 
>> in Jenkins (1.632) which take a list of values.
>>
>> I know that I have to list the values in the value field but what I need 
>> to know is if one of these values contains already spaces, what should I do?
>> For example:
>> my variable name: MY_VAR
>> my values: vaule 1, value 2, value 3,...
>>
>> thks 
>>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fa5a6594-e6af-4824-bf24-0339d00320db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set Jenkins environment variables containing spaces?

2017-01-14 Thread Victor Martinez
If you ask how to search spaces in a particular string then this is not the 
right mailing list to ask for and there are plenty of information on 
internet about parsing/grepping/searching spaces in strings, such as:

- 
http://unix.stackexchange.com/questions/81916/how-to-find-a-space-in-a-text-using-grep

Otherwise, I didn't understand exactly your question though.

Cheers
On Thursday, 12 January 2017 14:07:48 UTC, nada abdelkader wrote:
>
> Hello,
>
> I have some env variables to configure (Jenkins->manage Jenkins->configure 
> System -> Global properties -> Environment variables) in Jenkins (1.632) 
> which take a list of values.
>
> I know that I have to list the values in the value field but what I need 
> to know is if one of these values contains already spaces, what should I do?
> For example:
> my variable name: MY_VAR
> my values: vaule 1, value 2, value 3,...
>
> thks 
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/07ba035e-3e87-40f2-8c51-9e650a0b5c96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to set Jenkins environment variables containing spaces?

2017-01-12 Thread nada abdelkader
Hello,

I have some env variables to configure (Jenkins->manage Jenkins->configure 
System -> Global properties -> Environment variables) in Jenkins (1.632) 
which take a list of values.

I know that I have to list the values in the value field but what I need to 
know is if one of these values contains already spaces, what should I do?
For example:
my variable name: MY_VAR
my values: vaule 1, value 2, value 3,...

thks 

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5bf394b2-73f5-47f1-b191-1476d3d182a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.