[go-cd] Re: GoCD Agent how to copy artifact and run command on different folder (outside of agent working directory)

2022-06-26 Thread Jason Smyth
Hi there, Have you tried using npm's --prefix parameter? I'm not very familiar with npm, but an internet search suggests this as an option for invoking npm from a different location. Alternately you could write a script that invokes npm and does whatever else you need, check that into source c

[go-cd] Re: GoCD Agent how to copy artifact and run command on different folder (outside of agent working directory)

2022-06-24 Thread Hung Nguyen
Hi, The problem is the project working dir is outside of GoCD Agent working dir, please check the attachment image, Thank you. On Saturday, June 25, 2022 at 1:58:36 AM UTC+7 jsm...@scimarketview.com wrote: > Hi there, > > It seems to be this should be fairly easy to do by simply following the

[go-cd] Re: GoCD Agent how to copy artifact and run command on different folder (outside of agent working directory)

2022-06-24 Thread Jason Smyth
Hi there, It seems to be this should be fairly easy to do by simply following the documentation: https://docs.gocd.org/current/configuration/admin_add_task.html If that is not working for you, please let us know what you have tried and what errors you are encountering. Cheers, Jason Smyth O