Documentation incorrect on GO_REVISION environment variable?

Follow

Comments

2 comments

  • Avatar
    Santosh Hegde

    Hi Steve,


    If a name is specified for a material, the name is appended to the environment variable GO_REVISION. example: The variable is GO_REVISION_SVN if svn is the material name. If there are multiple materials, the destination directory name is appended to the variable. 


    The documentation does not fully capture this info. Thanks for reporting this. We will fix it in the next release. 


    Also, all environment variables set by Go for a job are printed in the console output for the job.


    To answer your second question, the documentation does not fully capture info on two other variables. Here is the correct usage.


    GO_DEPENDENCY_LABEL_$(name) : This variable is used to indicate the label of the upstream pipeline. $(name) will be the name of the pipeline dependency material if a name is specified. $(name) will be the name of the upstream pipeline otherwise.


    GO_DEPENDENCY_LOCATOR_$(name) : This variable is used to indicate the locator of the upstream pipeline. $(name) will be the name of the pipeline dependency material if a name is specified. $(name) will be the name of the upstream pipeline otherwise.


     

  • Avatar
    Steven Elkind

    Thanks, Santosh, just what I needed.


     


    /Steve

Please sign in to leave a comment.