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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I've set up a 'final' script task which requests the build status from <server>/rest/api/latest/result/<key>/latest
I've just noticed that a build failed last night but the results from the API showed it as successful (it had returned the previous build's data).
At what point is the 'latest' data updated? After all tasks (including final ones) are completed? I'm just wondering if a small delay in the script is enough to avoid this issue or if the script needs to complete before the data will be up to date..
For more consistency, have you tried to change trigger as
Then provide as shared artifacts or something like that,
Just interesting your use case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.