Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Variable NameDescription
ProjectProject being created. This corresponds to one row in input CSV file and will eventually create one single Project.
<Custom Inputs>Inputs defined on Template.

General Project Methods

MethodRequiredDescription
Project.setProjectPath(String pProjectPath)Yes

Set Project path. For example. FlexDeploy/SOA/HR. In this example, SOA folder will be created if it does not exist and HR application will be created if it does not exist.

You must make sure that you are defining last element in Project Path consistently as Application. For example, along with above example FlexDeploy/SOA/HR, if you used path as FlexDeploy/SOA/HR/Application, you will have issues.

Project.setProjectName(String pProjectName)YesSet Project Name.
Project.setDeployPriority(Integer pDeployPriority)NoSet Project Priority. If not supplied 1 is used.
Project.setDeployPriorityScope(String pDeployPriorityScope)NoDefaults to Application. Possible values are Application,Folder,Global.
Project.setDescription(String pDescription)No
Project.addProperty(String pPropertyName, Object pPropertyValue)No

This depends on type of Project being created. For example,

Code Block
languagegroovy
// using hard coded partition name as default.
Project.addProperty("FDSOA_PARTITION", "default");

// Using Input PartitionName. Each project can specify different partition
Project.addProperty("FDSOA_PARTITION", PartitionName);

Project.addProperty("FDSOA_OVERWRITE_REVISION", false);

Project.addProperty("FDSOA_MAKE_DEFAULT_REVISION", true);


Project.setActive(boolean pActive)NoDefault would be true.

Workflow Methods

MethodRequiredDescription
Project.setBuildWorkflowName(String pBuildWorkflowName)YesSet Build Workflow name to be used by Project.
Project.setDeployWorkflowName(String pDeployWorkflowName)YesSet Deploy Workflow name to be used by Project.

...

Use one of the two options shown below.

MethodRequiredDescription
Project.setSCMType(pSCMType)NoSet SCM Type or use Project Defaults. Possible values are SVN, GIT, TFVC, CVS, PERF, CCUCM, PVCS.


MethodRequiredDescription
Project.setSVNForSCM()NoCall to use Subversion for Project.
Project.setGITForSCM()NoCall to use Git for Project.
Project.setTFVCForSCM()NoCall to use Microsoft TFVC for Project.
Project.setCVSForSCM()NoCall to use CVS for Project.
Project.setPERFForSCM()NoCall to use Perforce for Project.
Project.setCCUCMForSCM()NoCall to use ClearCase UCM for Project.
Project.setPVCSForSCM()NoCall to use PVCS for Project.

Stream Settings

Add additional project streams if necessary. These streams are what the int pSequenceNumber in the SCM details section below refer to.

...