How to specify revision to build

Hi Support Team,

Perforce provides to assign a label to a revisioned file ('labeled revisions'). We use this feature to clearly specify the files to be included in a software release.

Currently we use FinalBuilder in our build process. The Perforce Action provides to check out all files attached to a specific label. This way we can start a build for "V2.2.1", "V2.3.0" or whatever.

I just check whether or not to upgrade from FBS to CCI and I wonder if I can specify the version to be built. It seems that in case I start a build I only have two options: 

- either the 'most recent changesets'

- or 'all changesets since last successfull build'

can be selected. What I miss is an option to specify more precise WHAT to build. Consider the following situation:

- I check-in File_A and assign Label "V2.3.0"

- after that a colleague checks-in File_B for a bugfix of an older version and assigns label "V2.2.1"

- another colleague checks-in File_C and assigns label "V 2.3.0"

As I see CCI will start 3 builds:

- the first build cannot be used as it misses the V 2.3.0-changes of File_C

- the second build will fail: it contains sources from V2.3.0 (File_A) and V2.2.1 (File_B)

- the third build will even fail as it will contain it contains sources from V2.2.1 (File_B) and V2.3.0 (File_A and FIle_C)

Am I right? Are there means to specify the files to be retrieved by a label name?

Best regards

Michael

Hi Michael,


We are currently working on adding Tag (or labelling) support to a number of repository types. This should allow Continua to build or trigger on a specific tag as well as pick up tag changes from repositories. 

We haven’t looked specifically into Perforce just yet but do plan investigate whether we can support labels on this repository type.

It will be several weeks before this feature will be released.