GoCD Plugin that downloads the source codes/files from FTP Server from a configured directory path when the pipeline triggers
Should work with GoCD >= 17.4.0.
- When your deployment environment does not support repository access
- When you want to package code along with GoCD deployment to protect your source code IP
- Step 1: Setup FTP server and copy the source code into the home directory( this step can have dedicated server or build docker image with FTP Server setup along with source code)
- Step 2: Configure GoCD server pipeline with FTP server details and directory path
Manually
Dockerized GoCD automatic plugin install
- Find release URL
- Set environment variable like the below; replacing
${VERSION}GOCD_PLUGIN_INSTALL_gocd-ftp-server-plugin=https://github.com/sekhar-rangam/gocd-ftp-server-plugin/releases/download/v${VERSION}/gocd-ftp-server-plugin-${VERSION}.jar
Refer the GoCD API Documentation for creating a pipeline via api
In the below yaml format update SCM value with Pluggable SCMs Id created in GoCD ADMIN tab
materials:
FTP_SCM_Server:
scm: 3154186a-4f0b-40a2-81db-c302108f5417Available from GoCD 19.8.0 onwards.



