Hello,

Is there a way to retrieve the absolute path of the current working 
directory for a given pipeline? The use case is as follows: I would like to 
set the JAVA_HOME environment variable to run maven in a job which requires 
an absolute path.
For now I have worked around this by setting the environment variable with 
%cd%/path_to_java (the jdk is checked out as a material) as part of the job.
We use Go 16.9.0.

The question is the same as the following 
https://support.thoughtworks.com/hc/en-us/community/posts/213269726-How-do-you-get-the-location-of-the-pipeline-stored-on-disk-
I was just wondering if the answer had changed since the question was asked.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to