Release Management - Work with Git

JFrog Integrations Documentation

Content Type
Integrations
ft:sourceType
Paligo

To work with Git, the Git plugin (version 1.1.10 or later) has to be configured to build one branch AND to checkout to the same local branch. The remote URL should allow Read+Write access.

The plugin uses the git client installed on the machine and uses its credentials to push back to the remote Git repository.

gitConfig.jpg

During the release the plugin will perform the following:

  1. If create branch is checked, create and switch to the release branch

  2. Commit the release version to the current branch

  3. Create a release tag

  4. Push the changes

  5. Switch to the checkout branch and commit the next development version

  6. Push the next development version to the working branch

Note that changes will only be committed if changes were made to the files (pom files or gradle.properties)