Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
|
Depending on your plugin configuration and how you run procedures, the field may behave differently in the CloudBees CD/RO UI. For more information, refer to Differences in plugin UI behavior. |
Get Latest Artifact Version
Performs a GAVC search in Artifactory for the specified artifact and saves the latest version to a property.
Input parameters
| Parameter | Description |
|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Repository package type |
Required. The type of repository. NuGet, NPM, Maven, PHP, and generic repository types are supported. |
Repository key |
Required. Repository key. For example, |
Organization path |
Represents the Organization field, where the levels are separated by path separators ( |
Artifact |
Required. A sequence of literals that identifies the artifact’s module. |
Classifier |
A sequence of literals that identifies the artifact’s classifier. This parameter is required if the Repository Package Type is Maven. |
Result Property |
Required. Name or the property where the latest version is saved. The default is |
Publish Artifact To Artifactory
Publishes a single artifact to the Artifactory instance. NuGet, NPM, Maven, PHP, and generic repository types are supported.
Input parameters
| Parameter | Description |
|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Repository package type |
Required. The type of repository. NuGet, NPM, Maven, PHP, and generic repository types are supported. |
Repository key |
Required. Repository key. For example, |
Use custom repository layout |
If selected, custom repository layouts are used. |
Organization path |
Represents the organization path, separated by |
Module |
Required if you do not use custom repository layouts.
A sequence of literals that identifies the artifact’s module. For example, |
Base revision |
Required if you do not use custom repository layouts.
A sequence of literals that identifies the base revision of the artifact version, excluding any integration information.
For example, |
Folder integration revision |
Required if you do not use custom repository layouts.
A sequence of literals that identifies the integration revision used in directory names in the artifact’s path, excluding the base revision.
For example, in the case of an integration revision |
File integration revision |
Required if you do not use custom repository layouts.
A sequence of literals that identifies the integration revision in the artifact’s file name, excluding the base revision.
For example, in the case of an integration revision |
Classifier |
Required if you do not use custom repository layouts.
A sequence of literals that identifies the artifact’s classifier.
For example, |
Extension |
Required if you do not use custom repository layouts.
A sequence of literals that identifies the artifact’s extension.
For example, |
Artifact layout |
Required if you use custom repository layouts.
Layout path pattern used for artifact resolution and publication paths.
For example, |
Artifact tokens |
Required if you use custom repository layouts.
Token path pattern used for artifact resolution. Tokens can consist of a combination of string literals, path separators, parentheses, and punctuation characters.
For example, for artifact
|
Artifact path |
Required. Path to the artifact binary on the resource file system.
For example, |
Artifact properties |
Artifact properties that facilitate searching them through JFrog "Smart Searches" For more information, refer to Property sets. Properties can be added in the following format:
|
Result property sheet |
Required. Property sheet where procedure results are saved. Contains a record with the following fields in JSON format:
For example:
|
Publish Multiple Artifacts To Artifactory
Publishes one or more artifacts whose Repository Package Type is Generic to Artifactory.
Input parameters
| Parameter | Description |
|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Repository package type: Generic |
|
Repository key |
Required. Repository key. For example, |
Use custom repository layout |
If selected, custom repository layouts are used. |
Organization path |
Required if you don’t use custom repository layouts.
Represents the Organization Path separated by For example, For regex, |
Module |
Required if you don’t use Custom Repository Layouts. A sequence of literals that identifies the artifact’s module. For example, For regex, |
Base revision |
Required if you do not use custom repository layouts. A sequence of literals that identifies the base revision part of the artifact version, excluding any integration information. For example, For regex, |
Extension |
Required if you do not use custom repository layouts. A sequence of literals that identifies the artifact’s extension. For example, For regex, |
Artifact layout |
Required if you use custom repository layouts.
Layout path pattern used for artifact resolution and publication paths.
For example, |
Artifact tokens |
Required if you use custom repository layouts.
Token path pattern used for artifact resolution. Tokens can consist of a combination of string literals, path separators, parentheses, punctuation characters etc.
For example, for the layout
|
Artifact directory |
Required. Path to the artifact binary directory on the resource file system.<br/>
For example, |
Artifact properties |
Artifact properties that facilitate searching them through JFrog "Smart Searches" For more information, refer to Property sets. Properties can be added in the following format:
|
Result property sheet |
Property sheet where procedure results are saved. Contains a record with the following fields in JSON format:
For example:
|
Retrieve Artifact from Artifactory
Retrieves the latest or a specific version of an artifact from the Artifactory instance. Supports NuGet, NPM, Maven, PHP, and generic repositories.
Input parameters
| Parameter | Description |
|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Repository package type |
Required. The type of repository. NuGet, NPM, Maven, PHP, and generic repository types are supported. |
Repository key |
Required. Repository key. For example, |
Organization path |
Represents the organization path separated by |
Organization path |
Represents the organization path separated by |
Artifact/Module |
A sequence of literals that identifies the artifact’s module. |
Latest artifact version |
Retrieve the latest artifact version from Artifactory. |
Exact artifact version |
Retrieve specific version from Artifactory. |
File integration revision |
A sequence of literals that identifies the integration revision part in the artifact’s file name, excluding the base revision. |
Folder integration revision |
A sequence of literals that identifies the integration revision used in directory names in the artifact’s path, excluding the base revision.
For example, in the case of an integration revision |
Classifier |
A sequence of literals that identifies the artifact’s classifier. |
Repository layout |
Artifactory repository layout is used for retrieval. |
Repository path |
Path to the artifact in the repository. |
Type |
Represents the |
Use repository layout |
If selected, repository layouts are used. |
Extension |
Required if you select Generic or Maven or PHP repository package type.
A sequence of literals that identifies the artifact’s extension. For example, |
Retrieve to directory |
Download the artifact version to a specific directory. If undefined, the artifact is downloaded into the current directory. |
Overwrite? |
If selected, the new package overwrites the already existing one. |
Uncompress and extract? |
If selected, the retrieved package is extracted into a directory named
|
Retrieved artifact location property |
Required. Name or property sheet path used by the step to create a property sheet. This property sheet stores information about the retrieved artifact version, including its location in the file system. |
Retrieve Generic Artifact
Retrieves an artifact from the specified destination, with optional version.
Input parameters
| Parameter | Description |
|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
Repository key |
Required. Repository key. For example, |
Artifact path |
Required. Path to the artifact. For example, |
Destination directory |
Destination directory for artifact. Default is current job workspace. |
Overwrite? |
If selected, the existing artifact is overwritten. |
Retrieved artifact location property |
Retrieval results, such as artifact name and properties, are saved to this property. |