The following methods are available to be used on the Project object in the template script.
General Project Methods
Code Block |
---|
|
void setProjectPath(String pProjectPath) |
...
...
void setProjectName(String pProjectName) |
...
...
void setDeployPriority(Integer pDeployPriority) |
...
Integer getDeployPriority() |
...
void setDeployPriorityScope(String pDeployPriorityScope) |
...
String getDeployPriorityScope() |
...
void setDescription(String pDescription) |
...
...
void addProperty(String pPropertyName, Object pPropertyValue) |
...
void setActive(String pActive) |
...
void setActive(boolean pActive) |
...
Workflow Methods
Code Block |
---|
|
void setBuildWorkflowName(String pBuildWorkflowName) |
...
String getBuildWorkflowName() |
...
void setDeployWorkflowName(String pDeployWorkflowName) |
...
String getDeployWorkflowName() |
Instance Methods
Code Block |
---|
|
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
Code Block |
---|
|
void setSCMType(String pSCMType) |
...
...
...
...
MassloadSCMConfig addSVNConfig(int pSequenceNumber, String pInstanceName) |
...
MassloadSCMConfig addSVNConfig(int pSequenceNumber, String pInstanceName, |
...
String pTrunkPathScript, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory) |
...
...
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, |
...
...
MassloadStream createStream(String pStreamName, String pVersionSyntaxScript, |
...
String pDescription, String pAttribute1, |
...
String pAttribute2, String pAttribute3) |
Continuous Integration Methods
Code Block |
---|
|
MassloadTrigger addPollSCMTrigger(int pIntervalMinutes, String pStreamName, |
...
...
MassloadTrigger addScheduledBuildTrigger(String pCronExpression, String pStreamName, |
...
...
MassloadTrigger addScheduledDeployTrigger(String pCronExpression, String pStreamName, |
...
...
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) |
...