Parameterize paths for save_cache and persist_to_workspace


#1

Hey all,

I’ve been working on converting our projects to 2.0 and have been coming at it from the angle of making my jobs as reusable as possible. Unfortunately the cache path currently are required to be hard coded and don’t respect the templates the same way that the keys do. If I could use {{ .Environment.variableName }} it would make multiple contexts significantly more useful and cut down on the vast majority of repeated job blocks simply to change the cache path.

Is there any word on work being done to accommodate this?

Thanks!


#2