Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

output says its Storing buildScmBranch but it stores it in scmBranch #92

Closed
mwiede opened this issue Apr 11, 2019 · 0 comments
Closed
Labels

Comments

@mwiede
Copy link

mwiede commented Apr 11, 2019

I was interested in the branch information of the scm and I can see the following output from the plugin:

[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ foo---
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify HEAD"
[INFO] Working directory: C:\work\foo
[INFO] Storing buildNumber: 35de8b31cb0a6b084d73e34514288f0e9c7c94a9 at timestamp: 1554973695688
[INFO] Storing buildScmBranch: master

During resource filtering, the property buildScmBranch did not exist.

Instead, the property scmBranch was set.

From my point of view, the output should use the property name, which is declared in maven.buildNumber.scmBranchPropertyName (which defaults to scmBranch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant