TheSnoozer
TheSnoozer
After a first quick investigation what might be the problem...it seems that this is caused by using pipelines... This plugin is [using](https://github.com/ktoso/maven-git-commit-id-plugin/blob/master/src/main/java/pl/project13/maven/git/GitDataProvider.java#L191) the environment variables that are being exposed by...
Issue related with: https://issues.jenkins-ci.org/browse/JENKINS-30252 https://issues.jenkins-ci.org/browse/JENKINS-26100 https://stackoverflow.com/questions/32789619/jenkins-multibranch-pipeline-what-is-the-branch-name-variable/37085196#37085196 https://stackoverflow.com/questions/43770058/jenkins-pipeline-branch-name-returns-null https://stackoverflow.com/questions/36304208/jenkins-workflow-checkout-accessing-branch-name-and-git-commit/36332154#36332154 https://stackoverflow.com/questions/39589360/how-to-access-git-branch-name-from-pipeline-job https://www.tikalk.com/devops/evaluate-git-branch-jenkins-pipeline-gitscm/ https://stackoverflow.com/questions/35873902/accessing-scm-git-variables-on-a-jenkins-pipeline-job This requires some more investigation since it seems that there is a difference between running in a single pipeline...
Just as an update to summarize: * I got it to working with a single pipeline only with a parametrized build configuration (not ideal but works) ``` pipeline { agent...
Alright; I'll stop investigating this further..... There are 10928321 tickets on Jenkins that ask for this to be implemented somehow but regardless what I found it doesn't seem to work...
See: https://issues.jenkins-ci.org/browse/JENKINS-47226
Thanks for the feedback and glad you found another workaround! I'll keep the issue open just to increase the awareness that something doesn't work properly....plus unfortunately there is nothing within...
Hello thank you for raising this and linking the discussion on MS! I find it very wrong that `Build.SourceBranchName` effectively returns `tools` for `refs/heads/feature/tools`. Clearly you can disagree all day...
Hi, thanks for creating this request. Sounds reasonable.
Hi, yes this seems not yet implemented in the jGit Implementation. Does it fail as well when you use the native git binary? Recently started discussion on eclipse about the...
see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=477475