Bamboo is adding _(2) to a build version, and I cannot figure out where or why, can anyone advise?
From the deploy log, you can see Bamboo has added this to the build name right at the start of the log. This deploy is supposed to then push the built docker container (built in previous stage) into Nexus, but it fails because Nexus will not accept the "_(2)" suffix. The previous build stage worked with no mention of this deploy version addition.
simple 01-Dec-2016 14:38:46 Build Deployment of 'develop-10_(2)' on 'Nexus' started building on agent bagent01
simple 01-Dec-2016 14:38:46 Remote agent on host bagent01
simple 01-Dec-2016 14:38:46 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/13271045-13172742
simple 01-Dec-2016 14:38:46 Executing build Deployment of 'develop-10_(2)' on 'Nexus'
simple 01-Dec-2016 14:38:46 Starting task 'Clean working directory task' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
simple 01-Dec-2016 14:38:46 Cleaning working directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/13271045-13172742'
simple 01-Dec-2016 14:38:46 Finished task 'Clean working directory task' with result: Success
simple 01-Dec-2016 14:38:46 Starting task 'Check out bamboo deployment tools' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
simple 01-Dec-2016 14:38:46 Updating source code to revision: 4dcce3f40a22f0cf3eed0ae469e83c8d803056a8
simple 01-Dec-2016 14:38:47 Updated source code to revision: 4dcce3f40a22f0cf3eed0ae469e83c8d803056a8
simple 01-Dec-2016 14:38:47 Finished task 'Check out bamboo deployment tools' with result: Success
command 01-Dec-2016 14:38:47 Substituting variable: ${bamboo.planKey} with SRV-RW38
command 01-Dec-2016 14:38:47 Substituting variable: ${bamboo.buildNumber} with 10
command 01-Dec-2016 14:38:47 Substituting variable: ${bamboo.deploy.version} with develop-10_(2)
This was an automated build triggered from a code update; a previous manual deploy of the same build worked successfully with the deploy version being set correctly to develop-10.