Continuum

Show error message when build agent is removed or disabled

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.3.2 (Beta)
  • Fix Version/s: 1.3.2 (Beta)
  • Component/s: Release
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Activity

Hide
Maria Catherine Tan added a comment -

Fixed in revision 755103.

  • added action errors when build agent has been removed or disabled during release
  • show error message in another page
Show
Maria Catherine Tan added a comment - Fixed in revision 755103.
  • added action errors when build agent has been removed or disabled during release
  • show error message in another page
Hide
Wendy Smoak added a comment -

Hi Marica. I don't quite understand this one from the description. What is the new behavior?

If I wanted to write a Selenium test to step through the app and check that this happens, how would I test it?

You mentioned 'during release' – was this prompted by my asking elsewhere what happens if you try to do a release, and the last agent that was used to build the project has been removed? (So is it related to CONTINUUM-2043?)

I glanced at r755103 and didn't see that it touched the docs, are there any updates needed for this?

Show
Wendy Smoak added a comment - Hi Marica. I don't quite understand this one from the description. What is the new behavior? If I wanted to write a Selenium test to step through the app and check that this happens, how would I test it? You mentioned 'during release' – was this prompted by my asking elsewhere what happens if you try to do a release, and the last agent that was used to build the project has been removed? (So is it related to CONTINUUM-2043?) I glanced at r755103 and didn't see that it touched the docs, are there any updates needed for this?
Hide
Maria Catherine Tan added a comment -

Added releaseError page in revision 755173.

Yes, it's somewhat related.

This is just an improvement on how the errors are handled when build agent has been delete/disabled. So instead of getting a stack trace or not releasing at all without any message when the build agent is not available, I just added an actionError and redirect it to another page so users will be informed when something like that happens.

If you're going to write a selenium test, just disable/remove the build agent where the last build was performed and when you try to release, it should redirect you to the releaseError page.

Show
Maria Catherine Tan added a comment - Added releaseError page in revision 755173. Yes, it's somewhat related. This is just an improvement on how the errors are handled when build agent has been delete/disabled. So instead of getting a stack trace or not releasing at all without any message when the build agent is not available, I just added an actionError and redirect it to another page so users will be informed when something like that happens. If you're going to write a selenium test, just disable/remove the build agent where the last build was performed and when you try to release, it should redirect you to the releaseError page.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: