Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


DeploymentTimingPoints.ExecutionCancelled event not fired




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
AUG Leaders

Atlassian Community Events