Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

DeploymentTimingPoints.ExecutionCancelled event not fired Edited



I am trying to develop a Bamboo plugin. I am using Bamboo 6.8.0 build 60803 - 30 Jan 19.

This plugin needs to add functionality when stopping a deployment. In order to achieve this, I have created a listener, waiting for 'DeploymentTimingPoints.ExecutionCancelled' events.

However, this kind of events never arise.

I am able to catch other events, like: DeploymentTimingPoints.ExecutionStarted, DeploymentTimingPoints.ExecutionFinished.

Question: is bamboo actually firing 'DeploymentTimingPoints.ExecutionCancelled' when stopping a deployment?

Note: When stopping a deployment, I am receiving a process exception.

[INFO] [talledLocalContainer] 2019-05-02 15:13:48,306 INFO [http-nio-6990-exec-6] [DefaultStopBuildManager] Stopping deployment 3342337-3407873-3866627 on agent 131073
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,306 INFO [http-nio-6990-exec-6] [DefaultStopBuildManager] Deployment 3342337-3407873-3866627 will be checked for termination at Thu May 02 15:14:48 CEST 2019
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,307 INFO [http-nio-6990-exec-6] [DefaultBuildAgent] Cancel build request for '3342337-3407873-3866627' received on agent 'Default Agent'.
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,307 INFO [http-nio-6990-exec-6] [DefaultBuildAgent] Interrupting task
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,308 WARN [18-BAM::Default Agent::Agent:pool-33-thread-1] [LatchedRunnable] Interrupted waiting for ExternalProcess pump to complete
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,308 WARN [18-BAM::Default Agent::Agent:pool-33-thread-1] [LatchedRunnable] Interrupted waiting for ExternalProcess pump to complete
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,313 INFO [18-BAM::Default Agent::Agent:pool-33-thread-1] [TaskResultBuilder] 3342337-3407873-3866627: Failing task since return code of [/home/repositories/plugin-test/target/bamboo/home/temp/] was 143 while expected 0
[INFO] [talledLocalContainer] 2019-05-02 15:13:48,313 INFO [18-BAM::Default Agent::Agent:pool-33-thread-1] [TaskResultBuilder] Process exception:
[INFO] [talledLocalContainer] com.atlassian.utils.process.ProcessException: Interrupted while waiting for process to finish
[INFO] [talledLocalContainer] at com.atlassian.utils.process.ExternalProcessImpl.handleProcessInterrupted(
[INFO] [talledLocalContainer] at com.atlassian.utils.process.ExternalProcessImpl.finish(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.process.ProcessServiceImpl.executeExternalProcess(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.process.ProcessServiceImpl.executeExternalProcess(
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at com.atlassian.bamboo.plugins.script.task.ScriptBuildTask.execute(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.task.TaskExecutorImpl.execute(
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at$waitAndPerformBuild$0(
[INFO] [talledLocalContainer] at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at$
[INFO] [talledLocalContainer] at com.atlassian.bamboo.utils.BambooRunnables$
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at
[INFO] [talledLocalContainer] at$
[INFO] [talledLocalContainer] at


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
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