Versions Compared

Key

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

...

SCM TypeSupported Methods
SVN


Code Block
Project.addSVNConfig(int pSequenceNumber, String pInstanceCode)
Project.addSVNConfig(int pSequenceNumber, String pInstanceCode, String pTrunkPathScript, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory)

Project.addSVNConfig(int pSequenceNumber, String pInstanceCode)

Create a SVN configuration for the project based on a pre-configured SCM instance code for SVN.  The sequence number allows you to create multiple configurations per project (sequencing starts at 1).  The values for Trunk Path Script, Branch Path Script, TagPathScript and Checkout Directory will be populated from the Project SVN Setup Defaults.

For example, 

Project.addSVNConfig(1,"SVNPROD")


Project.addSVNConfig(int pSequenceNumber, String pInstanceCode, String pTrunkPathScript, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory)

Create a SVN configuration for the project based on a pre-configured SCM instance code for SVN.  The sequence number allows you to create multiple configurations per project (sequencing starts at 1).  The values for Trunk Path Script, Branch Path Script, TagPathScript and Checkout Directory provided on the method will overwrite the values from the Project SVN Setup Defaults.  Passing in an empty string will not override the given default value.  ProjectName and StreamName are available variables within project configuration that can be used to make generic formulas.

For example, 

Project.addSVNConfig(1,"SVNPROD","\"/trunk/\" + ProjectName","\"/branches/\" + StreamName + \"/\" + ProjectName","","")

GIT


Code Block
Project.addGITConfig(int pSequenceNumber, String pInstanceCode)
Project.addGITConfig(int pSequenceNumber, String pInstanceCode, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory, String pSparseCheckoutFoldersScript)


Project.addGITConfig(int pSequenceNumber, String pInstanceCode)

Create a GIT configuration for the project based on a pre-configured SCM instance code for GIT.  The sequence number allows you to create multiple configurations per project (sequencing starts at 1).  The values for Branch Path Script, TagPathScript, Checkout Directory and SparseCheckoutFoldersScript will be populated from the Project GIT Setup Defaults.

For example, 

Project.addGITConfig(1,"GITPROD")


Project.addGITConfig(int pSequenceNumber, String pInstanceCode, String pBranchPathScript, String pTagPathScript, String pCheckoutDirectory, String pSparseCheckoutFoldersScript)

Create a GIT configuration for the project based on a pre-configured SCM instance code for GIT.  The sequence number allows you to create multiple configurations per project (sequencing starts at 1).  The values for Branch Path Script, TagPathScript, Checkout Directory and SparseCheckoutFoldersScript provided on the method will overwrite the values from the Project GIT Setup Defaults.  Passing in an empty string will not override the given default value.  ProjectName and StreamName are available variables within project configuration that can be used to make generic formulas.

For example, 

Project.addGITConfig(1,"GITPROD","StreamName","ProjectVersion","ProjectName","")

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)


PVCS


Code Block
Project.addPVCSConfig(int pSequenceNumber, String pInstanceCode)
Project.addPVCSConfig(int pSequenceNumber, String pInstanceCode, String pProjectPathScript, String pPromotionGroupScript, String pUsingPGScript, String pBranchPathScript, String pLabelNameScript, String pCheckoutFolderScript)


...