We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The latest commit information is not enough. When there are more than ten developments in my project, check whether the code has been submitted.
The text was updated successfully, but these errors were encountered:
Hello, thank you for creating this issue.
Yes that is possible. For a multiple execution see the example outlined in: #137 (comment)
For an evaluation on different commits refer to the evaluateOnCommit-setting outlined in the docs.
evaluateOnCommit
A full config might look like the following:
<!-- GIT COMMIT ID PLUGIN CONFIGURATION --> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>4.0.0</version> <executions> <execution> <phase>initialize</phase> <id>get-the-git-infos-for-repository-one</id> <goals> <goal>revision</goal> </goals> <configuration> <prefix>git1</prefix> <evaluateOnCommit>HEAD</evaluateOnCommit> <generateGitPropertiesFilename>${project.build.outputDirectory}/eval_one_git.properties</generateGitPropertiesFilename> </configuration> </execution> <execution> <phase>initialize</phase> <id>get-the-git-infos-for-repository-two</id> <goals> <goal>revision</goal> </goals> <configuration> <prefix>git2</prefix> <evaluateOnCommit>HEAD~1</evaluateOnCommit> <generateGitPropertiesFilename>${project.build.outputDirectory}/eval_two_git.properties</generateGitPropertiesFilename> </configuration> </execution> </executions> <configuration> <verbose>false</verbose> <skipPoms>false</skipPoms> <generateGitPropertiesFile>true</generateGitPropertiesFile> </configuration> </plugin>
Sorry, something went wrong.
Closing as answered feel free to reopen if something is not clear.
No branches or pull requests
The latest commit information is not enough.
When there are more than ten developments in my project, check whether the code has been submitted.
The text was updated successfully, but these errors were encountered: