Deployer 10.7 | Deploying Assets from a Source Asset Repository | Building Composites | Setting Git Properties
 
Setting Git Properties
To use Asset Build Environment to push composites and descriptors to a Git repository, in the build.properties file specify values for the Git properties listed in the following table:
Property
Definition
localStore
The location of the folder on the local file system, in which the Git repository is cloned or the local Git repository. localStore is the local Git repository that is the parent of the build.output.dir directory.
remoteStore
The URL of the remote Git repository.
branch
Optional. The name of the branch in the Git repository to which to push the composites and descriptors.
message
Required. A message that gives context and describes the changes included in the Git commit.
username
Required to connect over HTTPS. The name of a user that can log on to the remote Git repository.
password
Required to connect over HTTPS. The password for the specified username.
pathToPrivateKey
Required to connect over SSH. The path to the location on the file system in which you store your private key.
pathToPublicKey
Required to connect over SSH. The path to the location on the file system in which you store your public key.
privateKeyPassword
Required to connect over SSH. The password for your private key.
pathToKnownHosts
Required to connect over SSH. The path to the location on the file system in which you store the known hosts.
tag
Optional. The name of the tag in the remote Git repository to create for the uploaded assets. If you do not specify tag, the script does not create a tag for the uploaded assets.
fileCommand
Optional. The name of the command to send to the remote Git repository. The only currently supported value is the command for variable substitution, transform-properties. If you do not specify fileCommand, the script does not send a command to the repository.
registryRoot
Optional. The location of the registry folder inside the Git repository relative to the repository folder. If you do not specify registryRoot, by default the registry root is resolved to "." (the same location as the repository root directory). If you specify a value for registryRoot that does not exist, the script throws an exception.