File System SCM

Skip to end of metadata
Go to start of metadata

Use File System as SCM.

Plugin Information

Plugin ID filesystem_scm Changes In Latest Release
Since Latest Release
Latest Release
Latest Release Date
Required Core
1.20 (archives)
Dec 05, 2011
Source Code
Issue Tracking
Open Issues
Sam NG (id: samngms)
Christoph Kutzinski (id: kutzi)
Usage Installations 2014-Nov 1124
2014-Dec 1084
2015-Jan 1198
2015-Feb 1201
2015-Mar 1236
2015-Apr 1250
2015-May 1271
2015-Jun 1379
2015-Jul 1433
2015-Aug 1358
2015-Sep 1367
2015-Oct 1381

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.20 (Dec 5th, 2011)

  • Support ANT style wildcard in file filtering
  • Add an extra config parameter to let users to choose whether hidden files/dirs should be copied or not 

Version 1.10 (Apr 2, 2011)

  • No really user visible changes:
  • fixed isEmptySet() method on ChangeLog
  • updated to current version of Jenkins API

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 (JENKINS-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:
Please wait 
Looking for a label? Just start typing.

Add Comment