The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
1.2-${bamboo.buildResultKey}-${planRepository.revision}
comes out as
1.2-PROJ1234-${planRepository.revision}
please try: 1.2-${bamboo.buildResultKey}-${bamboo.planRepository.revision}
I am using ${bamboo.CpmsVersion}.${bamboo.buildNumber}.${bamboo.planRepository.revision} to build my version but the revision comes out as a GUID
1.0.6.dc52de7df96caae56236cc79f9b840e1948dbdb3
I am using the version in a C# project and it is not happy with this version. How do i get the revision number as an integer from git (I am using BitBucket), is this even possible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having the same issue - apparently every time I run a regular build rather than a customised one - I would expect planRepository.revision to be null in this case but it isn't.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
AFAIK There's no such thing as version _number_ in git. The hash is the revision.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.