go cd - Passing environment varibale from one go stage to another -


We have a pipeline job with 2 steps and we have announced an environmental variable. We are changing the value of the environmental variable in step 1 and now I want to use the converted values ​​of environment variables in step 2. But it is not using a changed value in step 2. We have tried to use the environment at the pipeline level, the level of the job and the environmental level. What stage level can anybody help?

Step is no way to pass an environment variable from 1 to phase 2. This situation The only way to deal with is to echo the environmental variable in a text file and present the text file as an artifact between two steps.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -