-
Notifications
You must be signed in to change notification settings - Fork 36
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
Different windows and linux in {{issues}} #32
Comments
Can you repeat this in an open repository, perhaps on Github? |
Yes i do, but i dont understand what is open repository? Could you send a link? |
A public repository. That I can access. |
you may think https://github.com/Acolasz/git-changelog-maven-plugin.git. Sorry, if not |
Those commits are not available in that repository: |
Hello tomasbjerre! I am really sorry, but I do not share those repo, when I found bug. I tried to make a new repo, but the your plugin works well. :( |
``Hello!
First off all. I do like git changelog plugins (maven and jenkins). Thank you so much.
Have you encountered such a problem, that the maven plugin (1.78) duplicate the JIRA issues?
I write settings:
<configuration> <settingsFile>${project.build.directory}/config.json</settingsFile> <templateFile>${project.build.directory}/mustache.md</templateFile> <fromRef>release/1.0.0</fromRef> <!-- tag exits --> <toRef>HEAD</toRef> <file>${project.build.directory}/changlog.md</file> <jiraServer>${git.changelog.jira.server}</jiraServer> <jiraUsername>${git.changelog.jira.user}</jiraUsername> <jiraPassword>${git.changelog.jira.psw}</jiraPassword> <jiraIssuePattern>^(TST)-([0-9]+)\\b</jiraIssuePattern> </configuration>
config.json
`{
"fromRepo": ".",
"dateFormat": "YYYY.MM.dd HH:mm:ss",
"noIssueName": "Issue key missing or no valid issue keys from commit!",
"timeZone": "UTC"
}`
tempale file: mustache.md
| Type | Key | Summary | Description | | ------ | ------ | ------ | ------ | {{#tags}} {{#issues}} {{#hasIssue}} {{#hasLink}} | **{{type}}** | [{{issue}}]({{link}}) | {{title}} | {{description}} | {{/hasLink}} {{/hasIssue}} {{/issues}} {{/tags}}
windows result:
| Type | Key | Summary | Description | | ------ | ------ | ------ | ------ | | **Bug** | [TST-2](http://jira.com/browse/TST-2) | test2 | Description2 | | **Story** | [TST-1](http://jira.com/browse/TST-1) | test1 | Description1 |
ubuntu result:
| Type | Key | Summary | Description | | ------ | ------ | ------ | ------ | | **Bug** | [TST-2](http://jira.com/browse/TST-2) | test2 | Description2 | | **Bug** | [TST-2](http://jira.com/browse/TST-2) | test2 | Description2 | | **Story** | [TST-1](http://jira.com/browse/TST-1) | test1 | Description1 | | **Story** | [TST-1](http://jira.com/browse/TST-1) | test1 | Description1 |
git log
`commit a0babb6073c30d2965bf33b8e97868e0bd55f24f
Author: Olivér [email protected]
Date: Mon Oct 25 17:06:25 2021 +0200
commit 61adc3beeb54d9e178e9f56463f2dae8443b96f0
Author: Olivér [email protected]
Date: Fri Oct 22 15:18:52 2021 +0200
commit ea06d65a0b707d664dd5c77019f7c2d0c90b4843
Author: Olivér [email protected]
Date: Fri Oct 22 15:04:51 2021 +0200
commit 6141796c98ff34662d57652e6f81b05b568e1d2d
Author: Olivér [email protected]
Date: Fri Oct 22 14:57:32 2021 +0200
commit d39a8180aa99cb105eb7eb148813a3d34488e42d
Author: Olivér [email protected]
Date: Thu Oct 21 15:15:49 2021 +0200
commit 8e8ee08940f3df76aced52d4332a9b491e4d24f1
Author: Olivér [email protected]
Date: Thu Oct 21 14:57:44 2021 +0200
`
Please help me! I dont know, that I am wrong or this is how it has to work.
Thank you so much!
The text was updated successfully, but these errors were encountered: