I want to get the output value from one step to use as an input on a subsequent step.
I am able to successfully get data/values into an artifact. I tested that by running the build, then manually downloading the artifact, and seeing my data was indeed in the artifact.
I cannot find anywhere which shows how the syntax for reading the contents of an artifact and using the contents in a subsequent step.
step "richard" works fine. step "jonathan" doesn't work- note that I'm only using echo in step "jonathan" to see if i've been able to read the contents of results.txt.
I've searched the forums for hours. I see over and over mentions of using an artifact in subsequent steps, but can find no syntax/demo of code that actually does that.
Finally figured out how to do what I needed:
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.