Skip to end of metadata
Go to start of metadata

Plugin Information

View PVCS SCM on the plugin site for more information.

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 Jenkins.

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.2 (Jan 23, 2018)
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

7 Comments

  1. Unknown User (darpan.sharma@aviall.com)

    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.(thumbs up)

  2. Unknown User (goldest)

    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. Unknown User (joysi)

    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. Unknown User (dbommaraju@gmail.com)

      Did you get the solution for this?

  4. Unknown User (etnot96@yahoo.com)

    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. I am also getting the issue as Tonté,

    Started on 4 mars 2013 09:06:26
    looking for changes between Fri Mar 01 16:28:47 CET 2013 and Mon Mar 04 09:06:26 CET 2013
    ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@e2a0974
    java.lang.NullPointerException
    at hudson.plugins.pvcs_scm.PvcsScm.getModifications(PvcsScm.java:419)
    at hudson.plugins.pvcs_scm.PvcsScm.pollChanges(PvcsScm.java:337)
    at hudson.scm.SCM.poll(SCM.java:375)
    at hudson.model.AbstractProject._poll(AbstractProject.java:1496)
    at hudson.model.AbstractProject.poll(AbstractProject.java:1421)
    at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
    at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
    at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

    Does anybody know how to fix this issue??

  6. hello

    i want to how to  modify this  plugin , it want to change the command line that execute to get the file from pvcs 

    because the fetched  aren't writable because the option (-w) is not use 

    thx