:) Changelogįor versions 0.9.11 and older, see CHANGELOG. git ls-remote to view information about Git tags in a CodeCommit repository. git show to view information about a specific Git tag. March 2016 klimas7 (Boguslaw Klimas) he began to the care and maintenance of the plugin. To use Git to view details about Git tags in a local repo, run one of the following commands: git tag to view a list of Git tag names. In May 2014 ngiger (Niklaus Giger niklaus.giger) decided to maintain this plugin and bring in the various improvements made by others. This plugin was offered to the community by lukanus (Łukasz Miłkowski end of 2011. How to we test the configuration dialog? How do we test whether correct tags are listed when a user triggers a build? "Issue lukanus": lukanus#14Īllow translations by converting all html stuff to jellyĪdd explanation when configuring the sort modeīetter testing. git show-ref -tags -d Which lists tags with their commits (see 'Git Tag list, display commit sha1 hashes'). Even though the GIT SCM module has the ability to provide "credentials" (SSH key) for the repository, the git-parameter plugin doesn't seem to use them. Will speed up listing tags and avoids cloning/fetching the content. You can think of this as a set operation. The output is given in reverse chronological order by default. As you add and commit your code changes, Git tracks these changes using four main types of Git objects: Blobs, Trees, Commits, and Tags. List commits that are reachable by following the parent links from the given commit (s), but exclude commits that are reachable from the one (s) given with a in front of them. TODOĪdd a new method listRemoteTags(URL) to git-client-plugin to use. The git show command is a powerful tool that allows developers to display the contents of Git objects within a Git repository. If you want to add some changes for this plugin:Īdd the issue in jenkins JIRA to the component git-parameter-pluginĭescribe there why you need change the plugin. The Jenkins-CI of this plugin can be seen at Request Policy There you find an option to upload a plugin. Test your changes by going to your Jenkins-CI site and import the generated target/git-parameter.hpi by going to your base URL + jenkins/pluginManager/advanced. You may checkout/clone this project and build it by simply calling mvn clean install in the root of the checkout. How to Show Git Commit Hash for Tags Octogit To list the commit hash for every tag in a repo use: git show-ref -tags which yields something like: ee02aa7363f9988af700ab136a219c455cab4b5f refs/tags/v.0.4.0 2d5befba5bc80a69c6308d2a5da965488e6bf9d7 refs/tags/v.0.4.1 0099c11405a3ace8ee14b0881f9677bfc1e30f5e refs/tags/v0.4. Visit for "information about developing Jenkins-Plugins" This error occur when there are no ssh command on Jenkins master.Just type git tag (with optional -l or -list ): git tag v1.0 v2.0. This error occur when the repository is not exists or URL is wrong. Listing the existing tags in Git is straightforward.This error occur when the repository is not configured or 'Use repository' option not match with any repository.If an error occurred while retrieving data, the default value is returned.Īdditional information is provided below, along with the cause of the error.
0 Comments
Leave a Reply. |