It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

trigger-pipeline pipe results in success when pipeline fails with system error

I'm using the trigger-pipeline pipe to tigger and monitor other pipelines.  I'm currently on v4.0.5.  

I just saw a result where the trigger-pipeline returned success even though the pipeline it ran failed with a system error:

INFO: Attempt number 97: Build number 798 for alertremote is IN_PROGRESS, waiting for pipeline to finish...
INFO: Attempt number 98: Getting build info.
✔ Build number 798 for alertremote@develop finished with result ERROR.
✔ Pipe finished successfully.

The json returned by that pipeline has this state info:

"state": {
"type": "pipeline_state_completed",
"name": "COMPLETED",
"result": {
"type": "pipeline_state_completed_error",
"name": "ERROR"
}
}

I know I'm using an older version of the pipe, but I checked the latest version of the trigger-pipeline code in the repo and it doesn't appear this case is accounted for in the latest version either.  Can this be fixed?

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

Bitbucket Server 7.0 is here!

Hello Community, I’m Anton Genkin, a product manager on the Bitbucket Server and Data Center team and am excited to share that Bitbucket Server 7.0 is now available! It's a platform release, one th...

277 views 3 2
Read article

Community Events

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

Events near you