2

I'm using Drone 0.5. Our build process compiles code to generate an artifact that is deployed to an artifact repository. I need a reference to this artifact for use in later build steps.

Is there a way to pass arbitrary data between build steps? Maybe through environment variables?

Daniel Cerecedo
  • 6,071
  • 4
  • 38
  • 51

1 Answers1

0

I don't know about creating env variables during the build process and persisting them, but the file system is definitely preserved. So you could put whatever data you need into a file for the next step.

Clint
  • 2,871
  • 2
  • 25
  • 28
  • That's for sure. The idea is to not mangle with the workspace and for example dynamically modify the parameters of a plugin during the build process. Given the params of a plugin are all envars. – Daniel Cerecedo Feb 21 '17 at 17:30