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. 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). Most of the fields in the form are populated with default values. 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). Once release management is enabled, the Artifactory Release Management tab appears at the top of the build page.Ĭlicking on the tab reveals configuration options for the release build: To enable release management in Maven runners, edit the runner's step configuration and check the Enable Artifactory release management checkbox. If the build fails, the plugin attempts to rollback the changes (both local and committed).įor more information including configuration of Maven Runners, and Jobs and staging a release build, please refer to TeamCity Artifactory Plug-in. Trigger the Maven build (with optionally different goals).Ĭommit/push changes to the tag (Subversion) or the release branch (Git).Ĭhange the POM versions to the next development version. The TeamCity Artifactory Plugin manages a release with Maven running the build only once using the following basic steps:Ĭhange the POM versions to the release version (before the build starts). Commits the next development version to the working branch.The release version is not committed to the working branch. Commits the release version directly to the tag (if Create tag is checked).Release management with TeamCity Artifactory Plug-in supports Subversion when using one checkout directory.ĭuring the release the plugin does the following: Push the next development version to the working branch. ![]() Switch to the checkout branch and commit the next development version. If Create Branch is checked, create and switch to the release branch.Ĭommit the release version to the current branch. Changes are only committed if the files are modified (POM files or gradle.properties)ĭuring the release, the plugin performs the following steps:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |