You can export a release pipeline model between vRealize Code Stream 1.1 appliances so that users do not have to recreate an existing release pipeline.

When you use a REST API to export a release pipeline model, the latest version of the model is exported.

Note:

You can export the release pipeline model by specifying the release pipeline name.

HTTP Method

GET

URI Syntax

/release-management-service/api/release-pipelines/{ReleasePipelineName}?action=export

Response

The release pipeline model can be exported to an XML format by specifying the HTTP Accept Header as application/xml. JSON (application/json) is the default response format.

The password value is removed during the export process.

{
	"modelVersion": 1,
	"metadata": {
		"pluginInstances": {
			"instance": [{
				"refId": 1,
				"name": "sample_jenkins_endpoint"
			}]
		}
	},
	"model": {
		"name": "Sample Pipeline",
		"notificationList": "xyz@company.com",
		"version": 1,
		"tags": {
			"tag": ["abc"]
		},
		"pipelineParams": {
			"property": []
		},
		"stages": {
			"stage": [{
				"name": "DEV",
				"index": 0,
				"tasks": {
					"task": [{
						"index": 0,
						"name": "Test task",
						"plugin": {
							"provider": "RPTestJenkins",
							"category": "TEST",
							"instanceId": 1
						},
						"inputProperties": {
							"property": []
						},
						"outputProperties": {
							"property": []
						}
					}]
				}
			}]
		},
		"concurrentExecutionsSupported": true
	}
}