Skip to content

Cory Foy

Organizational agility through intersecting business and technology

Menu
  • FASTER Fridays
  • Mapping Mondays
  • Player Embed
  • Search Videos
  • User Dashboard
  • User Videos
  • Video Category
  • Video Form
  • Video Tag
Menu

Serena Dimensions Redux

Posted on May 26, 2008 by Cory Foy

In a recent post I talked about being pretty disappointed with Serena Dimensions and its lack of strictly command line options. It appeared that no matter what you did, you still had to enter your credentials through the GUI pop-up box.

After reading through the 380+page command-line reference, I’m happy to report that I was wrong. The program is called dmcli.exe and takes in a variety of parameters. What worked for us was:

|C|dmcli.exe -user USER -pass PASS -host HOST -dbname DBNAME -dsn DSN -cmd FWI PROJECT:REV /USER_DIRECTORY=\"${srcroot}\" /NOTOUCH /OVERWRITE|EC|

where USER, PASS, HOST, DBNAME, SDN PROJECT, REV and srcroot are all whatever you would use. Right now I just have it forcing a build every hour in CruiseControl.NET, but eventually I’ll write a wrapper to actually be able to check the repository for changes (assuming we continue to stick with Serena).

Thanks to the people in my last post who pointed out the command line guide.

5 thoughts on “Serena Dimensions Redux”

  1. Anonymous says:
    June 23, 2009 at 10:14 am

    Hi Cory
    Have you ever gotten around to creating the wrapper to detect changes in Serena Dimensions?
    If you have I would love to see a sample, as we are beginning to set up cruise control to work with Dimensions after we upgraded from PVCS.
    Thanks, Anja
    Denmark

  2. David says:
    February 23, 2010 at 9:14 pm

    Do you know how comes PVCS sometimes increments the revision by dots instead of the next integer number?

    Thanks, David.

  3. Paul Wardle says:
    August 18, 2010 at 3:21 am

    Hi Cory,

    I am interested in seeing your solution for CruiseControl.Net. We are trying to get an automated build working with Dimensions; this may save me hours of work!!

    Anja – did you ever get this working??

  4. Pingback: Some links on Serena Dimensions DMCLI command-line usage « The Wiert Corner – irregular stream of Wiert stuff
  5. ong jun ming says:
    March 28, 2012 at 11:22 pm

    Hi Cory,

    i am working on an automated build to work with Dimensions. I am keen on your solution, would you be able to guide me along?

    Thanks.

Comments are closed.

© 2025 Cory Foy | Powered by Superbs Personal Blog theme