#gocd

/

      • quasar joined the channel
      • quasar
        Is it possible to add environment variables in one task and have them used in another task? Or is the Context environment map set when the pipeline runs?
      • moritz
        pipelines cannot transport variables from one task or stage to the other
      • what you can do is capture a value in a an artifact, and then in a later stage, read the artifact
      • quasar
        What about between tasks in the same Job?
      • moritz
        they are guarantueed to run on the same agent
      • so you can put the information somewhere in the file system
      • quasar
        hmmm, might have to do that. If I run printenv as a custom command I can see my new environment variables but they are not available in the context of the following task.
      • quasar has quit