Re: [go-cd] Passing variable to tasks

2020-04-09 Thread Jason Smyth
Hi Shivani, I'm not sure I understand. Can you post specific examples of what is working and what isn't? Another thing to try is: bash -c make The output of this should tell you whether or not the agent is able to find make on the path. Regards, Jason On Thursday, 9 April 2020 10:08:52 UTC-4

Re: [go-cd] Passing variable to tasks

2020-04-09 Thread Shivani Shinde
HI Jason, Yes that did work and gave me correct path. But I have a weird observation: When I do not mention any environment variables, the command works perfectly fine! And now when I add the environment variables, it give me the following error: make: pwd: Command not found make: uname: Comma

Re: [go-cd] Passing variable to tasks

2020-04-09 Thread Jason Smyth
Hi Shivani, The error message is saying that the "make" command is not found. I recommend trying the following as a troubleshooting step: bash -c echo make build path="$(pwd)" The output from this should be: make build path="/path/to/pipeline/workingDirectory" If that works as intended then th

Re: [go-cd] Passing variable to tasks

2020-04-09 Thread Shivani Shinde
Hi Jason, I did try that. But I keep getting same error. Can you let me know commands need to mentioned from UI? On Wednesday, April 8, 2020 at 8:44:33 PM UTC+5:30, Jason Smyth wrote: > > Hi Shivani, > > If you want to wrap a call to anything in an explicit invocation of bash, > the usual syntax