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
When I am adding additional steps to an existing pipeline, build just fials with status "Error" with no futher information as to why it is failing.
Build time is "0s" and opening the result leads to an infinite loader with a blank screen.
If I comment one of the steps, things work fine.
name: Publish assets to s3 bucket
name: Restart docker containers on remote server
wow, this is really bad.. the issue is that I am setting the deployment: test to use the env specific variables in these steps.. turns out it is not supported
UI wasn't showing any feedback, I had to go through the request, and responses in browser console to see the actual error. I spent hours trying various combinations to understand why things are failing sometimes even though everything looks correct.
I also had similar issues with docker build where some of the things were getting killed it seems, but there was no feedback in the docker build logs that an OOM event happened.. after shooting in the dark for long, increasing the memory helped.
Hey @Pradeep Vanga ,
Welcome to Atlassian Community!
Reading through your last comment, my understanding is that you would like to use your deployment variables in more than one step, i.e., a multi-step deployment.
By the time I write this message, we have a Beta feature available called Stages, which allows you to group pipeline steps and configure shared properties, such as grouping deployment steps.
Please allow me to share an example of how to configure your YAML file to use a multi-step deployment :
name: Build and test
name: Build app
- sh ./build-app.sh
name: Run unit tests
- sh ./run-tests.sh
In this example, any deployment variable setup for the environment staging would be available for both of the steps.
For more details and examples of using stages, you're also welcome to check our Stages official documentation.
Thank you, @Pradeep Vanga !