webMethods Deployer 10.3 | webMethods Deployer Documentation 10.3 | Building Composites for Repository-Based Deployment | Setting the Properties for the Build | Uploading Composites and Descriptors to a Git repository
 
Uploading Composites and Descriptors to a Git repository
You can use Asset Build Environment to push composites and descriptors to a Git repository. Apart from providing the values to the properties in build.properties, specify the following additional properties to upload composites and descriptors to a Git repository.
Property
Definition
localStore
Represents the local folder where the Git repository is cloned or the local Git repository. localStore is the Git local repository that is a parent of build.output.dir.
remoteStore
URL of the remote Git repository.
branch
Optional. The branch in the Git repository where composites and descriptors will be pushed.
message
Required. Message which describes the commits.
username
Authentication username for the remote Git repository.
password
Authentication password for the remote Git repository.
pathToPrivateKey
File system path where your private key resides. Used if SSH protocol is passed.
pathToPublicKey
File system path where your public key resides. Used if SSH protocol is passed.
privateKeyPassword
Password of your private key. Used if SSH protocol is passed.
pathToKnownHosts
File system path of the known hosts. Used if SSH protocol is passed.
Run one of the following commands from the Software AG_directory\common\AssetBuildEnvironment\bin directory to build and upload the composites and descriptors to the remote Git repository:
For this platform...
Run the following command...
Windows
build.bat buildUploadAssets
UNIX
build.sh buildUploadAssets
buildUploadAssets supports SSH and HTTPS. If HTTPS protocol is passed, HTTPS needs the username and password to be supplied. If SSH protocol is passed, SSH needs <pathToPrivateKey>, <pathToPublicKey>, <privateKeyPassword>, and <pathToKnownHosts>.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.