PVCS SCM

Plugin Information

Plugin ID pvcs_scm
Latest Release 1.1
Latest Release Date Jul 21, 2010
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla

This plugin provides integration with Serena's PVCS Version Manager SCM.

Configuring

Configuration of the PVCS plugin should be fairly straightforward, but my experience with PVCS is that nothing about PVCS is straightforward, simple, or in line with how other SCM systems work. This plugin was developed around the PCLI command-line tool, and I basically had to bludgeon that utility into submission....

System-level config

Specify the path to the pcli executable, or just use "pcli" if it is in the environment path of the user running Hudson.

Basic config

Project root

Specify the root of your project in this field. It is the path used by all PVCS clients (including the desktop GUI) to access your source.

Archive root

This is the path to the actual archive files on the PVCS server's filesystem. This is required to determine which files were changed from build to build; you can go back and set this later, if you need to, without modifying your builds.

Changelog prefix fudge

This is prefixed to the archive path of a file when determining the changes made to a build, after the "Archive root" (above) has been stripped off.

Module

This is the path to the directory which will be recursively retrieved from the project root. It must start with a leading "/".

So, to tie it all together, let's say the top-level pom.xml for your Maven project is at /2008_10/myProject/pom.xml, with a PVCS project root of //repository/PVCS/October_Release. The archive files are stored on the PVCS server's filesystem at //repository/pvcs/repository/TRUNK, so /2008_10/myProject/pom.xml actually resides at //repository/pvcs/repository/TRUNK/myProject/pom.xml.

You would specify:

  • the project root as //repository/PVCS/October_Release
  • the archive root as //repository/pvcs/repository/TRUNK/myProject/pom.xml
  • changelog prefix fudge as 2008_10/
  • module as /2008_10/myProject

Advanced config

Since PVCS is too brain-dead to tell you when a file is deleted, it is best to leave this box checked so that all checked-out files will be deleted before a build is started. This ensures that your workspace accurately reflects the current state of the repository.

Change Log

Version 1.1 (Jul 21, 2010)
  • Add ability to provide loginid, pvcs workspace, promotion group, version label while generating the pcli command
  • Fix help links
  • Updated code for more recent Hudson
Version 1.0 (Nov 5, 2008)
  • Initial release

Labels:

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

    Darpan Sharma says:

    Bira, this is great plugin for PVCS users who are left out when it comes to use ...

    Bira, this is great plugin for PVCS users who are left out when it comes to use PVCS in continuous integration.

     I am trying to use it, but there is no option I found to give credential's to log in to PVCS. Can you specify how to give it?

     Thanks.

    Darpan Sharma

    ---

    Ok, since I am new to PVCS, and a die hard programmer, I did not read PVCS documentation to define user id in environment variable PCLI_ID to be used by pcli. after defining it, it works like a champ.

  2. Mar 06, 2009

    patrice demaret says:

    Great plugin but how can i define label version or define e new parameter to pcl...

    Great plugin but how can i define label version or define e new parameter to pcli command ? (Ex : -v)

    Thanks

    Patrice Demaret (Sorry for my poor english) 

  3. Apr 26, 2009

    sijoy says:

    I am looking for the same. How to specify the files to be pulled from pvcs like ...

    I am looking for the same. How to specify the files to be pulled from pvcs like the version label or promotion group.

    Is it possible to modify the pcli command  parameters generated by the plugin

    1. Dec 02, 2009

      DB says:

      Did you get the solution for this?

      Did you get the solution for this?

  4. Feb 24, 2010

    Tonté Pouncil says:

    Bira, this is a great plugin for PVCS users and I am greatful you have created t...

    Bira, this is a great plugin for PVCS users and I am greatful you have created this plugin.

    Can anybody help with the following issue?

    I have been successful with using this plugin in the past and up until recently I've been getting the following error:
    Feb 24, 2010 11:35:05 AM hudson.triggers.SCMTrigger$Runner runPolling
    SEVERE: Failed to record SCM polling
    java.lang.NullPointerException
    at hudson.plugins.pvcs_scm.PvcsScm.getModifications(PvcsScm.java:332)
    at hudson.plugins.pvcs_scm.PvcsScm.pollChanges(PvcsScm.java:265)
    at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:1073)
    at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:319)
    at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:346)
    at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    at java.lang.Thread.run(Thread.java:619)

    Feb 24, 2010 11:35:05 AM hudson.plugins.pvcs_scm.PvcsScm getModifications
    INFO: looking for changes between Thu Jan 28 09:03:25 CST 2010 and Wed Feb 24 11:35:05 CST 2010

    I would like to know how to resolve this error message; as Hudson is not able to automatically build my projects when changes are made to PVCS.

    Thanks!

    Tonté

  5. Oct 03, 2011

    velappan ramasamy says:

    Can some one help me as I am unable to make use of this plugin. I get a error a...

    Can some one help me as I am unable to make use of this plugin.

    I get a error as command failed and it returns -3
    Also the project root cannot be loaded !

    I Check the exit code in PVCS doc it says 'A non-PCLI related error or a command specific error'

    I checked the console and found that hudson uses pcli command of GET.

    So I ran the same pcli command in windows command prompt and could
    execute it correctly but with hudson I get the error.

    Can some one tell me how to overcome this problem

    Thanks
    Vels