A very simple task that will just trigger another job. The plugin is meant for triggering builds/integration tests after deployment has been completed on an environment.
This is a great idea for an add-on! Have you considered a way to pass a variable from the build chain task to the Build Plan you want to run? I want to run the task from a deployment project and have the Build Plan I'm calling be aware of the deployment environment I'm calling from.
08-May-2019 16:16:13 Starting task 'Run automated test build' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask' 08-May-2019 16:16:13 Finished task 'Run automated test build' with result: Success 08-May-2019 16:16:13 Starting task 'Run automated test build' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask' 08-May-2019 16:16:13 Finished task 'Run automated test build' with result: Success 08-May-2019 16:16:13 Starting task 'Run automated test build' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask' 08-May-2019 16:16:13 Finished task 'Run automated test build' with result: Success
But when I actually go to the builds, none of them have triggered.
i just tested on a linux/bamboo 6.8.1, all worked fine so I added one stacktrace printing in case of any exception and published a new version for you. if there is some exception we can check it at least.
simple 24-Aug-2019 19:03:07 Starting task 'Build fresh windows player' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask' simple 24-Aug-2019 19:03:07 Finished task 'Build fresh windows player' with result: Success
I upgraded to the latest version. Unfortunately, it seems to work for one project but not for another randomly and I cannot see any more logs than before, so I'll monitor the situation and let you know when I've found the cause. Thanks for the help!
This is a great idea for an add-on! Have you considered a way to pass a variable from the build chain task to the Build Plan you want to run? I want to run the task from a deployment project and have the Build Plan I'm calling be aware of the deployment environment I'm calling from.
ReplyDeleteShould be able in latest version.
DeleteFor some reason builds just aren't triggered when I try to use this plugin.
ReplyDeleteAny idea on how I can start to troubleshoot this?
I've configured multiple tasks in my deployment environment to trigger multiple builds. Nothing special.
Deletewhich version are you using ?
DeleteAtlassian Bamboo version 6.8.1 build 60805 - 13 Mar 19
DeletePlugin version: 2.5.14
That's the Build Dependency plugin.
DeleteIt seems to work:
Delete08-May-2019 16:16:13 Starting task 'Run automated test build' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask'
08-May-2019 16:16:13 Finished task 'Run automated test build' with result: Success
08-May-2019 16:16:13 Starting task 'Run automated test build' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask'
08-May-2019 16:16:13 Finished task 'Run automated test build' with result: Success
08-May-2019 16:16:13 Starting task 'Run automated test build' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask'
08-May-2019 16:16:13 Finished task 'Run automated test build' with result: Success
But when I actually go to the builds, none of them have triggered.
i just tested on a linux/bamboo 6.8.1, all worked fine so I added one stacktrace printing in case of any exception and published a new version for you. if there is some exception we can check it at least.
DeleteFaced the same issue:
Deletesimple 24-Aug-2019 19:03:07 Starting task 'Build fresh windows player' of type 'com.valens.bamboo.build.bamboo-build-task:chainBuildTask'
simple 24-Aug-2019 19:03:07 Finished task 'Build fresh windows player' with result: Success
But build has not been triggered
Where can I download this new version or how do I upgrade to it?
ReplyDeletedirectly marketplace
DeleteI upgraded to the latest version.
DeleteUnfortunately, it seems to work for one project but not for another randomly and I cannot see any more logs than before, so I'll monitor the situation and let you know when I've found the cause.
Thanks for the help!
Quite strange, I added exception handling logging but if there is no exception we should not see anything extra.
Deletemaybe permissions are impacting you, person triggering builds not having permissions on the childs...