Hi everyone,
I am having the hardest time dealing with variables for a task.

What I want to achieve:

1. I want to pass a variable(pipeline's path) to the task which generates 
builds. This is build command:
make build path="/pipeline_path"

I tried setting variable *pipelinepath*, in the environment variable path, 
and using it in the task as specified in the document like:
make build path=$pipelinepath

or

make build path="$pipelinepath"

But it does not work!

2. I want to export certain variable assigning it a path of the directory I 
git cloned. I have mentioned the git URL in Materials of pipeline and 
mentioned destination directory as 'myProject'.
I want to do the following:
export myVar="/path/to/myProject"


I want to achieve this at task level.

How can I work on this? Any help will be appreciated!

Thank you.


-- 


CONFIDENTIALITY. This email and any attachments are confidential to Alef 
Edge Inc., and may also be privileged, except where the email states it can 
be disclosed. If this email is received in error, please do not disclose 
the contents to anyone, notify the sender by return email, and delete this 
email (and any attachments) from your system.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/083817de-2527-4e3e-a53f-36d4a1b407f4%40googlegroups.com.

Reply via email to