Mark,

I think you are referring to point 9 of the article. But that's not I am 
looking for.
We already have environment variables in our .bashrc/.cshrc and there are a 
quite few of them.
So, ideally, we would like to re-use these instead of adding all these 
variables in Jenkins or in my pipeline code.
So, something to leverage existing set-up scripts would be an effective 
approach.

On Thursday, 16 February 2017 01:11:25 UTC+5:30, Mark Waite wrote:

> Refer to item 9 at 
> https://www.cloudbees.com/blog/top-10-best-practices-jenkins-pipeline-plugin
>  .
>
> Mark Waite
>
> On Wed, Feb 15, 2017 at 10:59 AM Sharan Basappa <[email protected] 
> <javascript:>> wrote:
>
>> In my pipeline script, I am running another script that compiles and runs 
>> tests.
>> The script runs some jobs on sungrid. When the build is run, I see that 
>> qrsh (which is the command to launch job on sungrid) was not found.
>> I went back and executed env to check the path and as expected the path 
>> to sungrid was not set.
>>
>> The first thing I did was to go back and add proper path to sungrid in 
>> .bashrc file of Jenkins user.
>> That did not solve the issue as expected, as Jenkins will not run under 
>> bash.
>> Then I created a new file to set proper path and then gave the path in 
>> Jenkins build (using prepare environment I guess ... I don't remember as I 
>> don't have access to Jenkins currently). But this did not help either.
>>
>> I need some help ...
>>
>> -- 
>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/3a032339-9981-41e0-ad07-5d3cd2285ea8%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/3a032339-9981-41e0-ad07-5d3cd2285ea8%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/140c8bce-26df-4f80-a20f-c6ce1ea019c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to