Bamboo Add-on is not compatible with Bamboo 6.10.2

feature
(Glebby) #1

After installing the Bamboo Add-on from https://marketplace.atlassian.com/apps/1217235/octopus-deploy-bamboo-add-on?hosting=server&tab=support on the upgraded Bamboo instance “version 6.10.2 build 61006 - 16 Sep 19”, Bamboo shows it as Incompatible. When running the task, The following error occurs:

error 23-Sep-2019 13:28:22 Error occurred while running Task ‘Create and Deploy Release(10)’ of type com.octopus.bamboo:task.createrelease.
error 23-Sep-2019 13:28:22 java.lang.NullPointerException
error 23-Sep-2019 13:28:22 at com.octopus.bamboo.plugins.task.createrelease.CreateReleaseTask.execute(CreateReleaseTask.java:142)

Octopus Deploy Command Line Tool, version 6.13.1.

Full log:

command 23-Sep-2019 13:28:17 Beginning to execute external process for build ‘***- CRM Front-End - Default Job #25 (EQ-CRMFE-JOB1-25)’\n … running command line: \nc:\octopus\octo.exe push --server http://localhost --apiKey ******** --overwrite-mode OverwriteExisting --package F:\bamboo-home3\xml-data\build-dir\EQ-CRMFE-JOB1\octo\Crm.FrontEnd.3.0.0.25.zip\n … in: F:\bamboo-home3\xml-data\build-dir\EQ-CRMFE-JOB1\n … using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_13795333_git_username= \nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nOCTOEXTENSION=2.2.0\nbamboo_resultsUrl=http:// :8086/browse/EQ-CRMFE-JOB1-25\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe\nbamboo_build_commandline_com_octopus_bamboo_task_pack_8=c:\octopus\octo.exe pack --id Crm.FrontEnd --outFolder octo --basePath dist --format zip --version 3.0.0.25 --overwrite\nbamboo_repository_13795333_git_repositoryUrl=https://bitbucket.org/ \nbamboo_build_working_directory=F:\bamboo-home3\xml-data\build-dir\EQ-CRMFE-JOB1\nbamboo_planRepository_1_name=CRM-Front-End\nbamboo_buildKey=EQ-CRMFE-JOB1\nbamboo_repository_13795333_revision_number=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_Version=3.0.0\nbamboo_shortPlanName=CRM Front-End\nbamboo_planRepository_name=CRM-Front-End\nbamboo_buildNumber=25\nbamboo_Octo_ApiKeyPassword= \nbamboo_shortJobName=Default Job\nbamboo_buildResultsUrl=http://build. .co.uk:8086/browse/EQ-CRMFE-JOB1-25\nbamboo_planRepository_repositoryUrl=https://bitbucket.org/ /crm-front-end.git\nbamboo_capability_system_jdk_JDK_1_8_0_121__JRE_=C:\Program Files\Java\jre1.8.0_121\nbamboo_repository_13795333_branch_name=master\nbamboo_agentId=14450689\nbamboo_planName=CRM Front-End\nbamboo_capability_system_builder_msbuild_MSBuild_15=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe\nbamboo_shortPlanKey=CRMFE\nbamboo_build_commandline_com_atlassian_bamboo_plugins_bamboo_nodejs_plugin_task_builder_node_11=C:\Program Files\nodejs\node.exe getbambooissues.js EQ-CRMFE-25\nbamboo_shortJobKey=JOB1\nbamboo_capability_system_builder_command_pnpm=pnpm\nbamboo_planRepository_revision=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_repository_13795333_git_branch=master\nbamboo_buildTimeStamp=2019-09-23T13:22:49.650Z\nbamboo_repository_previous_revision_number=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_planRepository_previousRevision=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_repository_git_branch=master\nbamboo_buildResultKey=EQ-CRMFE-JOB1-25\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=CRM Front-End - Default Job\nbamboo_capability_system_builder_octopuscli_Octopus=c:\octopus\octo.exe\nbamboo_build_commandline_com_atlassian_bamboo_plugins_bamboo_nodejs_plugin_task_builder_npm_2=C:\Program Files\nodejs\npm.cmd install --prefer-offline\nbamboo_planRepository_1_revision=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_build_commandline_com_atlassian_bamboo_plugins_bamboo_nodejs_plugin_task_builder_npm_3=C:\Program Files\nodejs\npm.cmd run build:dev\nbamboo_repository_name=CRM-Front-End\nbamboo_repository_13795333_name=CRM-Front-End\nbamboo_dependenciesDisabled=false\nbamboo_buildFailed=false\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=F:\bamboo-home3\xml-data\build-dir\nbamboo_repository_git_username=*\nbamboo_planRepository_1_previousRevision=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=C:\Program Files\Java\jre1.8.0_121\nbamboo_plan_storageTag=plan-13926401\nbamboo_hg_cache_directory=F:\bamboo-home3\xml-data\build-dir_hg-repositories-cache\nbamboo_planRepository_1_username= \nbamboo_planRepository_type=gitv2\nbamboo_git_cache_directory=F:\bamboo-home3\xml-data\build-dir_git-repositories-cache\nbamboo_ManualBuildTriggerReason_userName= nbamboo_repository_git_repositoryUrl=https://bitbucket.org/ /crm-front-end.git\nbamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows[Microsoft.NET](http://microsoft.net/)\Framework64\v4.0.30319\MSBuild.exe\nbamboo_capability_system_builder_node_Node_js=C:\Program Files\nodejs\node.exe\nbamboo_tmp_directory=F:\bamboo-home3\temp\nbamboo_working_directory=F:\bamboo-home3\xml-data\build-dir\EQ-CRMFE-JOB1\nbamboo_planKey=EQ-CRMFE\nbamboo_planRepository_1_repositoryUrl=https://bitbucket.org/ /crm-front-end.git\nbamboo_planRepository_username= \nbamboo_capability_system_jdk_JDK_1_8=C:\Program Files\Java\jre1.8.0_121\nbamboo_repository_13795333_previous_revision_number=bc14c1c40b1cda46489ede1de052a4c4b6f5c2e0\nbamboo_planRepository_1_branchName=master\n
build 23-Sep-2019 13:28:18 Octopus Deploy Command Line Tool, version 6.13.1
build 23-Sep-2019 13:28:18
build 23-Sep-2019 13:28:19 Detected automation environment: “Bamboo”
build 23-Sep-2019 13:28:19 Space name unspecified, process will run in the default space context
build 23-Sep-2019 13:28:19 Handshaking with Octopus Server: http://localhost
build 23-Sep-2019 13:28:19 Handshake successful. Octopus version: 2019.6.8; API version: 3.0.0
build 23-Sep-2019 13:28:19 Authenticated as: ******
build 23-Sep-2019 13:28:19 Pushing package: F:\bamboo-home3\xml-data\build-dir\EQ-CRMFE-JOB1\octo
.Crm.FrontEnd.3.0.0.25.zip…
build 23-Sep-2019 13:28:19 Requesting signature for delta compression from the server for upload of a package with id ‘***.Crm.FrontEnd’ and version ‘3.0.0.25’
build 23-Sep-2019 13:28:21 Calculating delta
build 23-Sep-2019 13:28:21 The delta file (408,327 bytes) is 5.75 % the size of the orginal file (7,096,544 bytes), uploading…
build 23-Sep-2019 13:28:22 Delta transfer completed
build 23-Sep-2019 13:28:22 Push successful
simple 23-Sep-2019 13:28:22 Finished task ‘Push Package’ with result: Success
command 23-Sep-2019 13:28:22 Substituting password variable: ${bamboo.Octo.ApiKeyPassword}
command 23-Sep-2019 13:28:22 Substituting variable: ${bamboo.Version} with 3.0.0
command 23-Sep-2019 13:28:22 Substituting variable: ${bamboo.buildNumber} with 25
simple 23-Sep-2019 13:28:22 Starting task ‘Create and Deploy Release’ of type ‘com.octopus.bamboo:task.createrelease’
error 23-Sep-2019 13:28:22 Error occurred while running Task ‘Create and Deploy Release(10)’ of type com.octopus.bamboo:task.createrelease.
error 23-Sep-2019 13:28:22 java.lang.NullPointerException
error 23-Sep-2019 13:28:22 at com.octopus.bamboo.plugins.task.createrelease.CreateReleaseTask.execute(CreateReleaseTask.java:142)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:204)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:176)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:127)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
error 23-Sep-2019 13:28:22 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
error 23-Sep-2019 13:28:22 at java.lang.Thread.run(Thread.java:748)

(Daniel Fischer) #4

Hi @glebby,

Thanks for getting in touch! Currently we build against Bamboo version 6.9.1. (Our code here is open source)

One of our developers had a look and it seems Atlassian has not released a 6.10.0 pom file yet. So we are not able to build for this version right now.

We will hopefully be able to do so when this is available from Atlassian. Our developers will keep an eye out. :slight_smile:

If you have any further thoughts or questions on this, please don’t hesitate to let me know.

Best regards,
Daniel

(Gonchik Tsymzhitov) #5

Hi Daniel,

Any news around that?
It will be good to have a new version as well.

Thanks
Cheers,
Gonchik