You can use the Builds table to create a Release Bundle v2 from one or more builds, as an alternative to using the Release Lifecycle dashboard.
The procedures are described in the following sections:
Note
If the Release Bundle is created from a build associated with a project, the Release Bundle will also be associated with the project, even when working in a global context (i.e. when All is selected from the project selector).
Create a Release Bundle v2 from One or More Builds
Perform the procedure below to create a Release Bundle v2 from one or more builds.
To create a Release Bundle v2 from one or more builds:
In the Application module, select Artifactory > Builds.
Click Create Release Bundle.
In the Release Bundle Details tab of the New Release Bundle window, do the following:
Enter a name for the Release Bundle. (If a Release Bundle was previously created from the selected build, its name will appear.)
Enter the version number of the Release Bundle.
Note
Naming restrictions:
The name is limited to 32 characters.
The version is limited to 32 characters.
The name and version must begin with a letter, digit, or underscore.
The name and version must consist only of letters, digits, underscores, periods, and hyphens.
[optional] Select a signing key. If you do not select a key, a default key (generated by Artifactory automatically) is used. See Create Signing Keys for Release Bundles (v2).
Warning
Make sure the signing key is valid. The operation will fail if the key has expired.
Click Next to move to the Builds Selection tab.
Define the builds from which to create the Release Bundle:
Select the name and version of the build from the lists provided.
[optional] Select the Include Build Dependencies checkbox to have the Release Bundle include the dependencies associated with the build.
Important
Dependencies must be located in local or Federated repositories to be included in the Release Bundle. Dependencies located in remote repositories are not supported.
Click Add. The selected build and version appear in the selection box.
(optional) Select the Include Build Dependencies checkbox to have the Release Bundle include the dependencies associated with the build.
Important
Dependencies must be located in local or Federated repositories to be included in the Release Bundle. Dependencies located in remote repositories are not supported.
Click Create. The Release Bundle appears on the kanban board and as an event in the Release Bundle version timeline.
Note
To exclude selected artifacts in the build from the Release Bundle, see Exclude Artifacts from a Release Bundle (v2).
Create a Release Bundle v2 from a Single Build
Perform the procedure below to create a Release Bundle v2 from a single, selected build.
In the Application module, select Artifactory > Builds.
Click the name of the desired build, and then select Create Release Bundle from the actions menu.
Tip
Alternatively, click the name of a specific Release Bundle version and then click Create Release Bundle.
In the Release Bundle Details tab of the New Release Bundle window, do the following:
Enter a name for the Release Bundle. (If a Release Bundle was previously created from the selected build, its name will appear.)
Enter the version number of the Release Bundle.
Note
Naming restrictions:
The name is limited to 32 characters.
The version is limited to 32 characters.
The name and version must begin with a letter, digit, or underscore.
The name and version must consist only of letters, digits, underscores, periods, and hyphens.
[optional] Select a signing key. If you do not select a key, a default key (generated by Artifactory automatically) is used. See Create Signing Keys for Release Bundles (v2).
Click Next.
In the Contents tab, review the list of modules (containing artifacts and dependencies) to be included in the Release Bundle:
If the build contains a manifest, the contents of the Release Bundle will be based on the manifest. Using a manifest ensures that only those files that are meant to reach production are included in the Release Bundle. For more information, see Release Bundle Manifest for Builds.
If the build does not contain a manifest, the entire contents of the build artifacts will be included. This might include supporting files that are used during development but are not part of the final product.
Note
In the current version, you cannot modify the list of contents in the UI. To modify the contents of the Release Bundle, you need to create a new manifest or use the APIs to create the Release Bundle. The property key of the manifest must be
buildInfo.env.RBV2_MANIFEST
.(optional) Select the Include Build Dependencies checkbox to have the Release Bundle include the dependencies associated with the build.
Important
Dependencies must be located in local or Federated repositories to be included in the Release Bundle. Dependencies located in remote repositories are not supported.
Click Create. The Release Bundle appears on the kanban board and as an event in the Release Bundle version timeline.