You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.