Stage a Maven Release Build for TeamCity Integration

JFrog Integrations Documentation

Content Type
Integrations
ft:sourceType
Paligo

Once release management is enabled, the Artifactory Release Management tab appears at the top of the build page.

TCMavenReleaseLink.png

Clicking on the tab reveals configuration options for the release build:

TCMavenRelease.png

The release staging page displays the last version built (the version tag is that of the root POM, and is taken from the last build that is not a release). Most of the fields in the form are populated with default values.

Version configuration controls how the plugin changes the version in the POM files (global version for all modules, version per module or no version changes).

If the Create VCS tag checkbox is checked (default), the plugin commits/pushes the POMs with the release version to the version control system with the commit comment. When using Git, there's also an option to create a release branch.

Click on the Build and Release to Artifactory button to trigger the release build.

Target server is Artifactory Pro?

If the target Artifactory server is a Pro edition, you can change the target repository, (the default is the release repository configured in Artifactory publisher) and add a staging comment which is included in the build info deployed to Artifactory.