...
Variable Name | Description |
---|---|
| Name of current project being built. |
| Name of current stream being built. |
| Evaluates to true if current stream being built is main stream. |
| Project version name being built. |
| Attribute 1 of stream being built. |
| Attribute 2 of stream being built. |
| Attribute 3 of stream being built. |
...
Subversion SCM Configurations
For Subversion one or more project sources can be configured with the details as described in the table below. FlexDeploy provides flexibility by supporting groovy script to define these values. Click on the expression button to include variables as part of the value. Additional sources can be added by Clicking on the Add Source button.
Defaults for SubVersion Subversion source configurations can be configured using Project Subversion Setup Defaults. This can be configured such that
...
First approach works well if you have single Subversion repository. If you have multiple Subversion repositories in your environment, then you can utilize second approach to configure project based on some criteria. You can accomplish this by placing an "if" statement within Groovy script for the defaults. With this approach all attributes in SubVersion Subversion configurations will be empty initially, and when user selects SVN Instance, configuration values will be defaulted appropriately.
Tip |
---|
In example below, if Project Name is Project1 and Stream Names are trunk and fixpack1, here is what will be actual values of various configurations.
This structure does not need to match with your Subversion repository. You just need to define Groovy scripts to match your repository structure. |
Field Name | Required | Description |
---|---|---|
SVN Instance | Yes | An SCM Instance representing a Subversion repository. See Instances section of this guide to create SCM Type Instance. Refer to the Instances page for more on SCM Instances. |
Trunk Path Script | Yes | Path for the trunk within selected repository. |
Branch Path Script | No | Path for the branches within selected repository. Use StreamName variable to identify branch name used at runtime. |
Tag Path Script | No | Path for the tag within the selected repository. Use ProjectVersion variable to specify identifier of current build. |
Checkout Folder Script | Yes | Optional sub-folder to use for export/checkout operations during build workflow execution. |
...