How to Prevent a "Pending" Build/Deploy

Hi,

Is there any way to cancel a "pending" build or deployment in Team City? We have a build configuration which was given an incorrect branch for the build trigger and now has a pending build.

Can we remove this from the backlog, so to speak?

Would changing the branch that triggers the build clear it?

Thanks

4 comments
Comment actions Permalink

Hi,

Triggers do not define which branches a build should listen. It just triggers a build if changes meet specified requirements.
To configure build to listen to specific branches you need to setup Branch specification. The pending changes of non-listened branches will disappear.

0
Comment actions Permalink

To configure build to listen to specific branches you need to setup Branch specification

Is that correct, that this is currently only available for distributed version control systems (DVCS) and not for Subversion? So for Subversion branch build must be created manually.

I found the answer in: http://devnet.jetbrains.com/thread/455160?tstart=0

0
Comment actions Permalink

Sorry, don't think I explained myself too well in the initial message.

We currently have a pending build/deploy which was queued due to a certain branch being mapped to a build configuration which we had committed to.

Since we have discovered that that build configuration should've been mapped to a different branch. What we would like to do is remove the pending build/deploy from the queue on that build configuration - is that possible?

0
Comment actions Permalink

Sorry for delay.
If you have a queued build you can remove it on Build Queue tab.
If you have pending changes the only way is detach/attach VCS root (for not DVCS).

0

Please sign in to leave a comment.