How to pass variable from one stage to other stage

Hi,
I am trying to developer a CD Solution with multiple stages. As per our requirement we need to paas few values from 1st to 2nd and then from 2nd to 3rd stage.
I tried to do it by env varibles but it seems like each stage is running on new built and every time new values are getting missed.
Is there anyway in Travis to pass values different stages

Not to my knowledge. But there is a way to pass files between stages – Using Workspaces (Beta) - Travis CI.

You can put your values into those.

2 Likes

This seems like a weirdly overlooked feature; wouldn’t everyone want to be able to programmatically set variables and export them for consumption in other stages?

How is this reality?