Pass Value Between Pipelines


I have a drone file containing multiple pipelines that run in a sequence via dependancies.

In the first pipeline a value is generated that I would like to store as a variable and use in one of the other pipelines.

How would I go about doing this? I’ve seen that variables can be passed between steps via a file but this isn’t possible with pipelines from what i’ve seen and tried.


Hello ds-amo,

You can use workspace option and check if this helps Workspace | Drone

Harness Support

This unfortunately only seems to work between pipeline steps and not pipelines themselves. The workspace is deleted when the first pipeline completes and created again when the second pipeline starts.