Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo Maven compile scmBranch value is UNKNOWN

Pat Milligan June 8, 2015

For the maven-war-plugin and maven-jar-plugin, we'd like a MANIFEST.MF value showing the git branch used for the code checkout. The scmBranch variable is referenced, and this works for local builds. For Bamboo builds, the value is 'UNKNOWN'. Other customizations, like using the first 8 characters of the Stash git commit as the buildNumber value does work.

 

Why is the scmBranch variable value UNKNOWN for Bamboo builds?

 

1 answer

0 votes
burtsevy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 14, 2015

I have this issue when perform release with maven-release-plugin.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events