General Discussion

General discussion on using Go including questions and tips

This is a public Discussion Area  publicRSS

Post

    Victor Ramirez
    Passing Environment Variables
    Post posted March 2, 2010 by Victor Ramirez
    1008 Views, 1 Comment
    Topic:
    Passing Environment Variables
    Body:

    Hello,

    I want to specify which version of Java a particular pipeline / project needs. Not all my projects may be using the same version of Java. How can I specify this?


    Victor

    Comment

    • Yogi Kulkarni
      posted March 3, 2010 by Yogi Kulkarni

      Hi Victor,

      In Cruise 1.3.2 and earlier there is no explicit support for environment-variables (this will however be available in the upcoming 2.0 release).

      For the moment you would need to create a wrapper script that setup the required environment-variables and call it through an exec task in a job.

      Regards,
      Yogi