Used to provide details about artifacts being deployed and undeploy using CloudBees CD/RO's third-party inventory interface.
To demonstrate CloudBees CD/RO's third-party inventory interface, this plugin includes two procedures:
Deploy
Undeploy
These procedures store information about artifacts into the ec_deployment_artifacts
property of your job in predefined format based on your JSON input.
For each release of this plugin, a .jar
is included that can be uploaded to your CloudBees CD/RO instance following the instructions for Installing a plugin from a file. Once your plugin's .jar
has been uploaded, you need to configure the plugin for use.
Plugin configurations are sets of parameters that can be applied across some, or all, of the plugin procedures. They can reduce the repetition of common values, create predefined parameter sets, and securely store credentials. Each configuration is given a unique name that is entered in the designated parameter for the plugin procedures that use them.
To create plugin configurations in CloudBees CD/RO, complete the following steps:
- Navigate to DevOps Essentials Plugin Management Plugin configurations.
- Select Add plugin configuration to create a new configuration.
- In the New Configuration window, specify a Name for the configuration.
- Select the Project that the configuration belongs to.
- Optionally, add a Description for the configuration.
- Select the appropriate Plugin for the configuration.
- Configure the parameters per the descriptions below.
Example of deploy
procedure that sets needed job properties for third-party artifacts.
Parameter | Description |
---|---|
Deployment Artifacts | Required. JSON input with appropriate format containing information about your third-party artifacts. |
Example:
{
"deploymentSystem": "name of the 3rd-party tool, e.g., Ansible, G3, Gitlab",
"deploymentUrl": "Url for this deployment job in the 3rd-party tool",
"artifacts": [
{
"artifactName": "artifact1",
"artifactVersion": "1.2.5",
"artifactUrl": "Url to the artifact",
"additionalDetails": {
"deploymentTargets": "target1, target2",
"detail1": "value1",
"detail2": "value2"
}
},
{
"artifactName": "artifact2",
"artifactVersion": "3.2.6",
"artifactUrl": "Url to the artifact",
"additionalDetails": {
"deploymentTargets": "target2, target4",
"detail1": "value1",
"detail2": "value2"
}
}
]
}
Any undeploy procedure
Parameter | Description |
---|---|
Deployment Artifacts | Required. JSON input with appropriate format containing information about your third-party artifacts. |
Example:
{
"deploymentSystem": "Some3rdPartyTool",
"deploymentUrl": "https://repository.sonatype.org/service/local/repositories/atlassian-maven-external/content/org/apache/tomcat/apache-tomcat/",
"artifacts": [
"artifact1",
"artifact2",
"artifact3",
"artifact1x",
"artifact2x",
"artifact3x"
]
}
- Initial release version
- Initial draft version