The following methods are available to be used on the Project object in the template script.
General Project Methods
void setProjectPath(String pProjectPath)
String getProjectPath()
void setProjectName(String pProjectName)
String getProjectName()
void setDeployPriority(Integer pDeployPriority)
Integer getDeployPriority()
void setDeployPriorityScope(String pDeployPriorityScope)
String getDeployPriorityScope()
void setDescription(String pDescription)
String getDescription()
void addProperty(String pPropertyName, Object pPropertyValue)
void setActive(String pActive)
void setActive(boolean pActive)
boolean isActive()
Workflow Methods
void setBuildWorkflowName(String pBuildWorkflowName)
String getBuildWorkflowName()
void setDeployWorkflowName(String pDeployWorkflowName)
String getDeployWorkflowName()
Instance Methods
void setBuildInstanceName(String pBuildInstanceName)
String getBuildInstanceName()
void setDeployInstanceNames(List<String> mDeployInstanceNames)
void addDeployInstances(String... pDeployInstances)
void addDeployInstances(String pDeployInstances)
void addDeployInstances(String pDeployInstances, String pDelimiter)
void addDeployInstanceName(String pDeployInstanceName)
List<String> getDeployInstanceNames()
SCM Methods
void setSCMType(String pSCMType)
Valid values for pSCMType are:
SVN, GIT, CVS, and TFS
String getSCMType()
void setSVNForSCM()
MassloadSCMConfig addSVNConfig(int pSequenceNumber, String pInstanceName)
MassloadSCMConfig addSVNConfig(int pSequenceNumber, String pInstanceName,
String pTrunkPathScript, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory)
void setGITForSCM()
MassloadSCMConfig addGITConfig(int pSequenceNumber, String pInstanceName)
MassloadSCMConfig addGITConfig(int pSequenceNumber, String pInstanceName,
String pBranchPathScript, String pTagPathScript,
String pCheckoutDirectory,
String pSparseCheckoutFoldersScript)
void addStream(MassloadStream pStream)
List<MassloadStream> getStreams()
MassloadStream createStreamFromMainStream(String pStreamName)
MassloadStream createStream(String pStreamName, String pVersionSyntaxScript)
MassloadStream createStream(String pStreamName, String pVersionSyntaxScript,
String pDescription)
MassloadStream createStream(String pStreamName, String pVersionSyntaxScript,
String pDescription, String pAttribute1,
String pAttribute2, String pAttribute3)
Continuous Integration Methods
MassloadTrigger addPollSCMTrigger(int pIntervalMinutes, String pStreamName,
String pEnvironmentName)
MassloadTrigger addScheduledBuildTrigger(String pCronExpression, String pStreamName,
String pEnvironment)
MassloadTrigger addScheduledDeployTrigger(String pCronExpression, String pStreamName,
String pEnvironment)
MassloadTrigger addPostBuildTrigger(String pStreamName, String pEnvironment)
The following methods are available on the returned MassloadTrigger object so inputs and flex fields can be added to the trigger.
addFlexField(String pFlexFieldName, String pValue)
addInput(String pInputName, String pValue)
Test Automation