...
Code Block |
---|
|
Project.setProjectPath(String pProjectPath)
Project.setProjectName(String pProjectName)
Project.setDeployPriority(Integer pDeployPriority)
Project.setDeployPriorityScope(String pDeployPriorityScope)
Project.setDescription(String pDescription)
Project.addProperty(String pPropertyName, Object pPropertyValue)
Project.setActive(String pActive)
Project.setActive(boolean pActive) |
Workflow Methods
Code Block |
---|
|
Project.setBuildWorkflowName(String pBuildWorkflowName)
Project.setDeployWorkflowName(String pDeployWorkflowName) |
Instance Methods
Code Block |
---|
|
//All these methods take instance Codes, not Names as the methods suggest.
Project.setBuildInstanceName(String pBuildInstanceName)
Project.addDeployInstances(String... pDeployInstances)
Project.addDeployInstances(String pDeployInstances)
Project.addDeployInstances(String pDeployInstances, String pDelimiter)
Project.addDeployInstanceName(String pDeployInstanceName) |
SCM Methods
SCM Type
Info |
---|
PERF (Perforce) support was added in 4.0.2, and updated in 4.0.3. CCUCM (ClearCase) support was added in 4.0.3 |
...
Code Block |
---|
title | Setting the SCM Type for the Projects |
---|
|
Project.setSCMType("SCM Type")
Valid Strings for the "SCM Type" are SVN, GIT, TFS, CVS, PERF, CCUCM
Or, use one of these methods instead:
Project.setSVNForSCM()
Project.setGITForSCM()
Project.setTFVCForSCM()
Project.setCVSForSCM()
Project.setPERFForSCM()
Project.setCCUCMForSCM() |
Stream Settings
Add additional project streams if necessary. These streams are what the int pSequenceNumber
in the SCM details section below refer to.
Code Block |
---|
|
Project.createStreamFromMainStream(String pStreamName)
Project.createStream(String pStreamName, String pVersionSyntaxScript)
Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription)
Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription, String pAttribute1, String pAttribute2, String pAttribute3) |
SCM Details
Next, configure the SCM details for your selected SCM Type. Choose one of the methods that contains the options that you need to configure for your projects from the list.
...
SCM Type | Supported Methods |
---|
SVN |
Code Block |
---|
Project.addSVNConfig(int pSequenceNumber, String pInstanceCode)
Project.addSVNConfig(int pSequenceNumber, String pInstanceCode, String pTrunkPathScript, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory) |
|
GIT |
Code Block |
---|
Project.addGITConfig(int pSequenceNumber, String pInstanceCode)
Project.addGITConfig(int pSequenceNumber, String pInstanceCode, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory, String pSparseCheckoutFoldersScript) |
|
TFVC |
Code Block |
---|
Project.addTFVCConfig(int pSequenceNumber, String pInstanceCode)
Project.addTFVCConfig(int pSequenceNumber, String pInstanceCode, String pMainPathScript, String pBranchPathScript, String pLabelNameScript, String pCheckoutFolderScript) |
|
PERF |
Code Block |
---|
Project.addPERFConfig(int pSequenceNumber, String pInstanceCode)
Project.addPERFConfig(int pSequenceNumber, String pInstanceCode, String pMainPathScript, String pBranchPathScript, String pLabelNameScript, String pCheckoutFolderScript) |
|
CVS |
Code Block |
---|
Project.addCVSConfig(int pSequenceNumber, String pInstanceCode)
Project.addCVSConfig(int pSequenceNumber, String pInstanceCode, String pModuleNameScript, String pBranchNameScript, String pTagScript, String pCheckoutFolderScript) |
|
CCUCM |
Code Block |
---|
Project.addCCUCMConfig(int pSequenceNumber, String pInstanceCode)
Project.addCCUCMConfig(int pSequenceNumber, String pInstanceCode, String pProjectVobScript, String pVobPathsScript, String pStreamScript, String pLabelNameScript, String pCheckoutFolderScript) |
|
Continuous Integration Methods
...