History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-1570
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: jason
Reporter: Stephen Nesbitt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Allow build cancellation when viewing build

Created: 28/Jul/08 07:38 PM   Updated: 08/Aug/08 12:27 AM
Component/s: Web UI
Affects Version/s: 2.0.9
Fix Version/s: 2.0.10


 Description  « Hide
In order to cancel a build one has to go the agent tab to do so. There are a number of reasons why this is less than ideal:
1) One doesn't know what agent is handling the build. In a large system with many build agents this could make things rather difficult. This could partially be alleviated by displaying the processing agent in the status box (which might be useful information in an of itself)
2) The status box contains a pause button. Why doesn't it contain a cancel button as well? Shouldn't all actions related to a build be located in a single spot?





 All   Comments   Change History      Sort Order:
jason - 28/Jul/08 11:08 PM
Hi Stephen,

I guess you are talking about the status box on the project homepage? If so:

1) There may be multiple agents involved in a single project build, and in upcoming Pulse versions there may be multiple builds running for a single project. For this reason the processing agent is displayed for each stage in the build summary tables, rather than at the top level. There are, however, places where we could add more information about which agent is running what, e.g. on the agents tab, on the agent status view, and in more detail on the server activity tab.
2) As the status box is connected to the project, rather than a single build, I don't think we can put a cancel button there. The pause button pauses the project (so it will ignore subsequent triggers) rather than any build. However I agree that the location of the cancel button is not convenient - you should be able to cancel from the build summary page at the very least, and possibly in other places. We will use this issue to tack adding links to cancel to the build views.

Stephen Nesbitt - 28/Jul/08 11:16 PM
Yes, you are correct.

I see your point and mostly agree with it. The use case I am working with against is that I manually trigger a build (or a user asks me to kill a build). Therefore I have a project and a build number. There should be some way that I can easily tell Pulse, please kill build 18 - no matter what stage - on Project Foo.

And regards the pause, the fact that a project with a paused build ignores all triggers - including manual invocation - is a bit confusing. Or I found it so ;-) as i kept trying to manually invoke a build only to have it do nothing. I really don't have a solution, just a data point.

Man, I really don't envy you on this project. A lot of very tough nuts to crack (which you are dealing nicely with. Still...)
-steve

jason - 08/Aug/08 12:27 AM
Done in change 4673.