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 On Friday, 24 June 2022 at 00:31:08 UTC-4 [email protected] wrote: > In my "deploy" pipeline, I have pulled the built artifact from upstream > pipeline, but the problem is my working directory is different compared to > the GoCD Agent working directory, so I can't deploy that artifact to my > working dir. Additionally, I must run some command on my working dir after > moving the artifact, e.g. `npm run production`. > > - My working dir: `/var/www/vhosts/project` > - GoCD Agent working dir: `/var/lib/go-agent` > > So, how can I copy the artifact to the outside of GoCD Agent and then run > some additional commands? > > Thanks a lot. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/bf7f0968-e816-4a11-b53d-c592af04023an%40googlegroups.com.
