Pipeline change environment variable

2

I have a project-level environment variable defined with the value X .

During pipeline execution, given a given condition, I need to change the value of this variable to Y . The value must be persisted in the variable so that in the next run the pipeline uses the value Y and not the X .

Is it possible? If so, how?

Note: I will not post the code of my .gitlab-ci.yml because I could not evolve anything regarding this subject, so I would not add in the question.

    
asked by anonymous 06.07.2018 / 03:05

0 answers