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]>
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].
> 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/CAO49JtF3o4i1XdaUdyuRm8S5UXjeCw7YgA5OGkz1xZ%2BLLeNLZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to