Re: How to extend $PATH used by Jenkins?

2015-11-25 Thread Jochen Hayek
Have a look at the "Build Environment" section, particularly at "Properties 
Content"!

You can make use of environment variables there,
and you can assign values to environment variables, but only once per 
variable.

But you can do things like this:

PATH1=$HOME/bin:$PATH
> PATH=$HOME/shell:$PATH1


Have a look at the online help! (-> "?")

On Tuesday, 10 November 2015 22:58:22 UTC+1, Daniel Anechitoaie wrote:
>
> Hi,
>
> I have some stuff installed in /opt/ 
>
> How can I add this to $PATH so that it's visible in Jenkins?
>
>

-- 
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/c4f622a6-f47d-4c01-b3c5-ce4b09a2e45a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to extend $PATH used by Jenkins?

2015-11-25 Thread Daniel Beck

On 25.11.2015, at 09:32, Jochen Hayek  wrote:

> Have a look at the "Build Environment" section, particularly at "Properties 
> Content"!

… which is provided by the EnvInject Plugin.

-- 
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/B45F6D7E-AB46-4D73-A3EC-D9C94706B602%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: How to extend $PATH used by Jenkins?

2015-11-11 Thread Baptiste Mathus
Well, add this to PATH in the associated shell step, or use the full path.
Or tell us a bit more what you're trying to do.

Cheers

2015-11-10 22:58 GMT+01:00 Daniel Anechitoaie :

> Hi,
>
> I have some stuff installed in /opt/
>
> How can I add this to $PATH so that it's visible in Jenkins?
>
> --
> 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/7931e201-d388-49c9-a86c-18da22f801e9%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Baptiste  MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

-- 
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/CANWgJS7kUQGyXyY4nBGkRhsStT2Uacxk0h93_n%3DtwLqqn%3DajKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to extend $PATH used by Jenkins?

2015-11-10 Thread Daniel Anechitoaie
Hi,

I have some stuff installed in /opt/ 

How can I add this to $PATH so that it's visible in Jenkins?

-- 
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/7931e201-d388-49c9-a86c-18da22f801e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.