# We don't want the default pipeline to trigger this process, so we leave the first step empty
name: Start building the QA
status: In Progress ---- Is this Possible or something similar? because I need this to reflect the Status of my Pipeline to come back later and run the other steps remaining in the Pipeline
- echo "Building QA in progress..."
# Code review and manually push changes in QA Bitbucket
name: Build Bitbucket QA
- echo "Building Bitbucket QA..."
# push changes in QA Salesforce, run Unit tests and UI review
name: Build Salesforce QA
- echo "Building Final QA..."
Hi Stefan and welcome to the community.
If you want to monitor which Pipelines have manual steps that haven't run yet (so you can run them later), you can check the Pipelines page in the repo.
If you take a look at the following screenshot from one of my repos:
For Pipeline #27, the icon with a circle within a circle next to the status "Successful", indicates that there are steps that haven't run yet.
For Pipeline #26, the check icon inside the circle indicates that all steps have run.
Can you monitor it this way? Or are you looking for a way to programmatically retrieve this info?
Thank you for your reply and you are very welcome.
I was looking to programmatically retrieve this info in my YAML file and change it with a string data, depending on the step I'm in.
Could you perhaps explain a bit more about your use case and how this would be useful for you?
The status of the pipeline can be retrieved via an API call and it will show as IN_PROGRESS if there are steps that haven't run yet, and COMPLETED when all the steps have run.
However, if you include such an API call in the yaml file to be executed during the build, the output will always be IN_PROGRESS, even for the final step, as the build is still running when the API call is executed.
While it's not possible to define a variable the way you described in your original post, I'd like to understand a bit better your use case, to see if there is another way to achieve what you'd like.
Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events