Reputation: 35267
When I run my build script from TeamCity I can output ##teamcity[buildNumber '<new build number>']
and TeamCity will update the build number accordingly.
How can I do this in Bamboo?
Upvotes: 0
Views: 4250
Reputation: 7522
You can't - at least not in a supported way. Even ignoring the build script portion of your question, Bamboo simply doesn't support editing of build numbers like TeamCity does.
If you really want to edit the build number, you may be able to do it manually (at your own risk!) with a few SQL queries. This post from Atlassian's forums should help you get started.
Upvotes: 2