Checking out from other Source Control systems
Work with non-git repositories
Codefresh has Native Git support but you can still use any other version control system such as SVN, CVS, hg, etc.
The only requirement is that you find or create a Docker image that contains the client for that source control system and then use a freestyle step to run it.
Checking out Subversion code
There is already a public Docker image with the svn client, so it is very easy to run it in a Codefresh pipeline.
rm command before the clone step. This makes sure that everytime the pipeline will run the
svn checkout step will happen in an empty directory.
Checking out Mercurial or CVS Code
It is very simple to use any other Source control system in a Codefresh pipeline. The easiest way is to just call the respective executable.
A much faster way is to create your own Dockerfile that includes the client you need and then mention that image directly in the freestyle step.
Checking out Perforce code
Codefresh has created a Perforce plugin which packs the p4 client into a Docker image in order to be used from Codefresh pipelines:
The environments variables should be defined in Codefresh shared configuration.