File System SCM

Use File System as SCM.

Plugin Information

Plugin ID filesystem_scm
Latest Release 1.9
Latest Release Date Sep 21, 2010
Plugin Central Plugin Central 3.2
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla
Hudson Core (latest) 3.3.3

Simulate File System as SCM by checking file system last modified date, checkout(), pollChanges(), ChangeLog and distributed build are all supported.

Folder difference is found by

  1. for each file in source, check if the corresponding file in workspace exists
    1. if not, it is a new file
    2. if yes, further checks if the file in source is newer than file in workspace, or if source file is modified since last build, this is a modified file
  2. for each file in workspace, if the corresponding file in source does not exist AND
    1. it is in our self maintained "allow delete list", we will delete this file from workspace. Every times we copy a file from src to dst, we add the filename to the "allow delete list", in other words, we will only delete files that are copied by us

Filtering is supported when checking for modified files.

If Clear Workspace is checked, the system will delete all existing files/sub-folders in workspace before checking-out. Poll changes will not be affected by this setting.

In Changelog, User, i.e. who changed the file, is not supported.


Version 1.9 (Sep 21, 2010)

  • Works on Hudson core 1.337 as well

Version 1.8 (Mar 29, 2010)

  • Bug fixed: enable clearWorkspace on the 1st jobrun will throw Exception

Version 1.7 (Mar 11, 2010)

  • Avoid Hudson startup error when upgrading to Hudson 1.349 or newer (issue #5893)

Version 1.6 (Feb 12, 2010)

  • Bug fixed: chmod before copying readonly files on Unix
  • Bug fixed: Master/Slave bug
  • Bug fixed: help page URL correctly handled even Winstone started with prefix

Version 1.5

  • Preserve file permission (rwxrwxrwx) when copying files (on Unix platform only)
  • will only delete a file from workspace if it is copied by this plugin
  • ChangelogSet changed to follow the latest API

Report Bugs 

Please report bugs to samngms [at] yahoo [dot] com


plugin-scm plugin-scm Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Feb 10, 2011

    Hemang Lavana says:

    I have found this plugin very useful for cases where SCM plugin is not available...

    I have found this plugin very useful for cases where SCM plugin is not available. I use the scm CLI to pull the src code and update it periodically. This plugin then links to the checked out src code on the filesystem and it seems to have worked quite well.

    Q: how do I specify this plugin to include or exclude specific sub-directories. For example, I have logs sub-directory which gets updated every time I update the src code. It also has lost+found directory which I am unable to exclude. I tried specified *lost*found*, *lost+found/*, etc but none of those worked. Whenever some files have changed in the lost+found sub-directory, it detects this as a change and triggers a build. I would like to avoid that.