Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This POST service will add projects to a release in the same way as the Release Screen. This service can be used to add projects to a release in FlexDeploy.

API URL

http://host:port/flexdeploy/rest/release/addProjectsToRelease

Add Projects to Release Sample JSON Request


{

"authentication": { "userId":"fdadmin", "password":"password1" },

Opening bracket

Authentication section, used on all types of requests.

Required parameters for creating or editing a release.

"releaseName": "Demo Release",

"releaseProjectDetails":

[{

"qualifiedProjectName": "FlexDeploy/MyFolder/MyApp/MyProject",

"priority": 1,

"streamName": "trunk",

"groupName": "Group1"

},

{

"qualifiedProjectName": "FlexDeploy/MyFolder/MyApp/MyPartialDeployProject",

"priority": 2,

"streamName": "branch1",

"groupName": "Group2",

"requestAllFiles": true

}]

Add projects to the release named Demo Release.

A list of Projects and releaseProjectDetails to add to the release.


Add the Project located at "FlexDeploy/MyFolder/MyApp/MyProject" to the release.

Set the Priority of this project to 1.

Build this project in the trunk Stream.

Put this project in "Group1" on the release.



Add the Project located at "FlexDeploy/MyFolder/MyApp/MyPartialDeployProject" to the release.

Set the Priority of this project to 2.

Build this project in the "branch1" Stream.

Put this project in "Group2" on the release.

Optionally Request All Files when performing a build of a Partial Build project.

}Closing bracket

  

Parameters

Parameter

Required

Type

Description

authentication

Y

Object

The login information for the user connecting to FlexDeploy.

releaseName

Y

String

The name of the release containing the gate we want to complete.

releaseProjectDetails

Y

Array

A list of projects and configurations to add to the release.

qualifiedProjectName

Y

String

The full path and name of a project to add to the release.

priority

N

Integer

The project's deployment priority in the release.

streamName

N

String

The stream to build this project from. Defaults to the main stream.

groupName

N

String

The name of the group on the release to add this project to.

requestAllFilesNBooleanRequest All Files when building a Partial Build project Defaults to false.
packageNameNStringThe name of the package to build and deploy in the release. Used and required when requestAllFiles is false.
  • No labels