Skip to content

sekhar-rangam/gocd-ftp-server-plugin

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gocd-ftp-server-plugin

GoCD Plugin that downloads the source codes/files from FTP Server from a configured directory path when the pipeline triggers

Requirements

Should work with GoCD >= 17.4.0.

When you can use this plugin

  • 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

How this plugin works

  • 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

Setup Guide

Installation

Manually

  • Download the plugin from releases
  • Follow the plugin installation instructions here

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
    

Usage

Via pipelines-as-code

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-c302108f5417

Via UI wizards

Available from GoCD 19.8.0 onwards.

create_scm pluggable_scms configure_ftp_material pipeline_materials_view

About

GoCD Plugin that downloads the source codes/files from FTP Server from a configured directory path when the pipeline triggers

Resources

License

Stars

Watchers

Forks

Packages

No packages published