Class GitPushProcessor

  • All Implemented Interfaces:
    DeploymentProcessor, InitializableByConfigBean, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

    public class GitPushProcessor
    extends AbstractRemoteGitRepoAwareProcessor
    Processor that pushes a localRepo to a remote Git repository. A processor instance can be configured with the following YAML properties:
    • localRepoBranch: The branch of the local repo to push.
    • remoteRepo.url: The URL of the remote Git repo to push to.
    • remoteRepo.branch: The branch of the remote Git repo to push to.
    • remoteRepo.username: The username for authentication with the remote Git repo. Not needed when SSH with RSA key pair authentication is used.
    • remoteRepo.password: The password for authentication with the remote Git repo. Not needed when SSH with RSA key pair authentication is used.
    • remoteRepo.ssh.privateKey.path: The SSH private key path, used only with SSH with RSA key pair authentication.
    • remoteRepo.ssh.privateKey.passphrase: The SSH private key passphrase, used only with SSH withRSA key pair authentication.
    • force: sets the force preference for the push.
    • pushAll: if all local branches should be pushed to the remote.
    Author:
    avasquez