DescriptionThe GitLab Generic Packages is a source configuration plug-in that creates versions and imports packaged artifacts from GitLab Generic Packages.
The GitLab Generic Packages plug-in creates versions and imports packaged artifacts from GitLab Generic Packages.
This plug-in requires HCL Launch version 18.104.22.168 or newer.
This plug-in supports all versions of the GitLab Generic Packages.
This plug-in runs on all operating systems that HCL Launch supports, including the z/OS operating system.
See Installing plugins in HCL Launch for installing and removing plugins.
Before you use the plug-in, ensure that:
- The packages are published.
- You have the access token ready.
- The project ID is captured.
You will need to define a HCL Launch component which defines the source and processes for the GitLab Generic Packages. The component contains the information for importing the artifacts and any processes to implement on the artifacts.
When creating the component, supply information described in the GitLab Generic Packages Component Properties Steps page. After the component is created use the Components page in the user interface to import a version of the artifacts if automatic import is not selected.
To create a component, complete the following steps. For more information about creating a component, see Creating components in the product documentation.
- In HCL Launch, click Components and then click Create Component.
- In the Create Component window, specify a name and description for the component.
- In the Source Config Type list, select GitLab Generic Packages.
- Specify the properties for the component. See Steps for property descriptions.
- Specify the type of version to create by default on version import.
- Click Save.
GitLab Generic Packages Component Properties
|The Base URL and port for the GitLab server.
|The access token to use to authenticate with the GitLab server.
|The project ID in GitLab.
|The exact name of package that must match to import a specific package.
|The package status.
|A list of file patterns to include in the component. Separate each pattern with a new line or comma. To include all files, leave blank or type */.
|A list of file patterns to exclude from the component. Separate each pattern with a new line or comma.
|Extensions of files to Convert
|If text-type files must be converted into another character set, type the list of file extensions to be converted. Matching file types are converted into the default or system character set of the system where the agent is located. Separate list items with commas.
|Log4j Logging Level
|Configure the level of Log4j messages to output to the console. Specify the logging level as ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, or OFF.