A Question for the Perforce Plugin gurus..... For private use, I am about to modify the Perforce Plugin to support the processing of Pending Changelists.
We use Perforce as the main SCM tool, and we have a number of compiles and tests that are run on the Pending changelists as part of a branching/Policy strategy for SW Quality improvement (fancy marketing words here!). I want to take advantage of Jenkin's robust and reliable infrastructure to run these tasks as jobs; at present the tasks are in scripts that are being invoked from cron. While browsing through the code, I noticed that it may be possible to modify the file "src\main\java\com\tek42\perforce\parse\Changes.java" to get the Pending Changelists from Perforce. I can either modify the current method public getChangelists() to accept a new Boolean argument to specify Pending (false) or Submitted (true) : List<Changelist> getChangelists(String path, int lastChange, int limit, int maxFiles, Boolean isSubmitted ) .... or create a new method that is dedicated to only return the Pending changelists. List<Changelist> getPendingChangelists(String path, int lastChange, int limit, int maxFiles ) Any suggestion/advice would be greatly appreciated. Thanks Mgimza
