If you look at the expanded console log for a build, only the values in the
process environment (the ones listed with "setting environment variable")
are available. I don't think the "GoCD resources" tagged to the current
agent are available, only the "GoCD environment" name (if relevant).

Believe these are listed at
https://docs.gocd.org/current/faq/dev_use_current_revision_in_build.html#standard-gocd-environment-variables
as well.

On Mon, Aug 8, 2022 at 12:26 PM Nayan Makwana <[email protected]>
wrote:

> I want to print resource name in console so user can know the pipeline
> running on particular resource .
>
>
> if it possible so please let me know how can i do that
>
> regard
> Nayan Makwana
>
> --
> 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/dc83b92c-a55a-429f-bb4f-2c5bd12cb5e1n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/dc83b92c-a55a-429f-bb4f-2c5bd12cb5e1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAA1RwH_Xjx_howP1861vzhDV3bRMcx9Kk6AagnDPnMeMDF-f7Q%40mail.gmail.com.

Reply via email to