Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-3
-
None
Description
Several people have expressed more than a passing interest in how the Perforce clientspec is named by Maven SCM. The name needs to be autogenerated and unique for each Continuum project build. Currently I am thinking something like:
${project}${user}${hostname}-mavenscm
Emmannuel, does the SCM subsystem have access to the name of the project being built? If not, I can just use the name of the last directory in the SCM URL for the name of the project: //depot/projects/foobar would mean that ${project} = foobar.
And just head off the inevitable question: you cannot set P4CLIENT for this because Continuum may build several different projects and they each need a unique clientspec.