They are used in the Generic Resolve and Generic Deploy tasks and in Bamboo Deployment tasks, File Specs are used in the Artifactory Download task, to specify the dependencies to be resolved from Artifactory or artifacts to be deployed to it. You should therefore make sure that one or more of the previous plan tasks is configured to collect build info and that the build-info is published to Artifactory.įile Spec are specified in JSON format. To scan a build with Xray, the build-info must be already published to Artifactory. ![]() For plans which include the Publish Build info task, the link to the published build-info is available in the Build Results area. The task publishes the build-info collected by previous Artifactory tasks in the plan, if they are configured to collect build-info. The Publish Build Info task has been added in version 2.7.0. The schema version is intended for internal use. This value is used for constructing a direct link to the issues in the Artifactory build UI. The name (type) of the issue tracking system. In the example above, setting the index to "2" retrieves the sample issue from this commit message: The capturing group index in the regular expression for retrieving the issue summary. In the example above, the regular expression matches the commit messages as displayed in the following example: The expression should include two capturing groups - for the issue key (ID) and the issue summary. In the example above, setting the index to "1" retrieves BAP-1364 from this commit message:Ī regular expression used for matching the git commit messages. The capturing group index in the regular expression used for retrieving the issue key. The RELEASE status is set to a build when it is promoted using the Build Promotion functionality added by the Bamboo Artifactory Plugin. In the above example, issues will be aggregated from previous builds, until a build with a RELEASE status is found. ![]() If aggregate is set to true, this property indicates how far in time should the issues be aggregated. Set to true, if you wish all builds to include issues from previous builds. You can read about installing type 2 plugins in the Bamboo documentation for Installing add-ons. Installing Versions 2.xįrom version 2.0.0, the Bamboo Artifactory Plugin is released as a type 2 plugin. You're now ready to install version 2.x according to the below instructions. Remove plugin version 1.13.0 and restart Bamboo.Ĥ. From Bamboo Administration | Artifactory Plugin, click on the " Migrate data to v2" button.ģ. If you are not already on version 1.13.0 of the plugin, upgrade to that version first.Ģ. If you are currently using a version of the plugin below 2.0.0 and would like to upgrade to version 2.0.0 or above, you need to migrate your Artifactory configuration data to the format expected by the type 2 plugin as described in the following steps:ġ. ![]() Upgrading to Versions 2.x from Versions 1.x Artifactory Pro is required for advanced features, such as License Control and enhanced Build Integration.For best results and optimized communication, we recommend using the latest version of Artifactory. We recommend testing new Bamboo and plugins releases on a staging environment before upgrading the production environment. When a new version of Bamboo is released, the Marketplace lists the Bamboo Artifactory Plugin as incompatible, however, since we regularly update the plugin it is likely to maintain compatibility with patch or minor version upgrades of Bamboo. The Bamboo Artifactory Plugin is fully tested for compatibility with the version of Bamboo that is current when the plugin is released. The Bamboo Artifactory Plugin is an open-source project on GitHub which you can freely browse and fork. Generic download and upload using File Specs is also supported through dedicated tasks. The Bamboo Artifactory Plug-in currently provides full support for Maven, Gradle, Ivy, NPM, Docker and NuGet through dedicated Artifactory tasks for each of these package managers. ![]() using the Artifactory Publish Build Info task. This data can be published to Artifactory as build-info. Beyond managing efficient deployment of your artifacts to Artifactory, the plug-in lets you capture information about artifacts deployed, dependencies resolved, environment data associated with the Bamboo build runs and more. Artifactory provides tight integration with Bamboo through the Bamboo Artifactory Plug-in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |