Versions Compared

Key

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

...

  • Executes native commands using Git client
  • Supports partial and shallow checkouts from Git Repository

Instance Properties

Property Name

Required

Description

FDGIT_URL

Yes

The URL to the remote GIT repository.

FDGIT_USER

Yes

The username to the remote GIT repository.

FDGIT_PASSWORD

Yes

The password for FDGIT_USER.

FDGIT_CMD_PATH

No

The GIT executable folder.
Note: If the Git executable is on the PATH, then there is no need to setup this property, otherwise, this needs to be configured on the Environment Instances screen for the workflow instance (different from the 3 above, which are on the SCM Instances screen).

Plugin Operations

Children Display
first7

Git Installation Steps

Git 1.7.9 or higher is needed for FlexDeploy, but yum installs lower version. In order to install newer version, we need to get source and build it for install. Here is reference - https://tecadmin.net/install-git-2-0-on-centos-rhel-fedora/.

Run these steps as root. You can download newer version as well than 2.7.1.

  1. yes | yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
  2. yes | yum install gcc perl-ExtUtils-MakeMaker
  3. cd $HOME
  4. wget https://github.com/git/git/archive/v2.7.1.tar.gz
  5. tar -xvzf v2.7.1.tar.gz
  6. cd git-2.7.1/
  7. make prefix=/usr/local all
  8. make prefix=/usr/local install