A description here is probably nice to have. ;)
In the future, this will be a good place to add message publication.
Looks fine code wise.
Any tests to add or alter?
I can add tests.
1 new commit added
I'm wondering if you could just log the error in build.transition instead of having to do log.error and build.transition every time.
build.transition
log.error
Please remove these comments.
Is it worth updating the state_reason here in case it is different?
state_reason
Minor comments. After addressing them, +1.
I agree. good idea.
rebased onto 28dd5cd2025a2c589114cdef3f0085d90f48f447
Added tests, moved logging to transition method and also marking the artifact builds depending on the one for which the transition was called as FAILED or CANCELLED.
transition
rebased onto 6bfd9463493d4893f88282b90ad1a72c418eab88
Any idea how frequent this is?
Not a blocker - just curious.
:+1:
Thanks!
Pull-Request has been merged by ralph