it's a custom task command running curl and I need to pass the variable as one of the arguments e.g. command: curl arguments: zyx<GO_PIPELINE_COUNTER var>
On Thursday, May 9, 2019 at 3:30:50 PM UTC+1, Chris Flynn wrote: > > What type of task are you using? I think you have to use a *bash* task and > pass it in as part of the arguments section. Does this help? > https://docs.gocd.org/current/faq/dev_use_current_revision_in_build.html > > On Thu, May 9, 2019 at 10:21 AM Martin c <martin...@kurtgeiger.com > <javascript:>> wrote: > >> Is it possible to use the Standard GoCD environment variables in a gocd >> pipeline? I'm trying to use it in a task e.g. *$GO_PIPELINE_COUNTER* or >> *%GO_PIPELINE_COUNTER%* but can't get it to work >> >> -- >> 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...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/go-cd/4bbf087f-b640-40a6-8ff1-f2eb4cfee917%40googlegroups.com >> >> <https://groups.google.com/d/msgid/go-cd/4bbf087f-b640-40a6-8ff1-f2eb4cfee917%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- 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/555bb47e-170e-4030-87d1-5b634bde64cd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.