Pre-Tested Commit using command line (for use in P4V)

Hi,

We have recently adopted both Perforce and Team City.

I'm interested in the ability to trigger a pre-tested commit from the P4V GUI.

Currently this is nicely integrated in Visual Studio (which we also use) through an add in, but not everyone checking in to the project will be using Visual Studio.

I was thinking of using custom tools in P4V to write a mini tool (if it was 1 command, even better!) to achieve the same.

The information about the command line tool seems to point to the need of producing a list of files:
http://svn.jetbrains.org/teamcity/plugins/commandline/trunk/command.line/HOWTO

although I was hoping the tool would be to understand a changelist (that would be ideal).

Has anybody done anything similar and has anybody managed to run a pre-tested commit from a batch file/script?

Is there any documentation about how to setup the require .teamcity-mappings.properties file?

Any pointers much appreciated!

Cheers,

Simona

4 comments
Comment actions Permalink

Hi Simona

It's published at Command Line Remote Run Tool, there you can find both binaries and documentation.
At the moment it has two limitations:
1) you need to provide explicit list of changed files
2) it performs remote run, but does not commit the changes to Perforce server

0
Comment actions Permalink

Hi Michael,

thank you for your reply!

What does the Visual Studio Addin do to achieve this functionality then?
Really, i'd just like to replicate that.

Having to use file names is not too much of a limitation (I can get those from p4v I assume).

Cheers,

Simona

0
Comment actions Permalink

the addin calls p4.exe tool to perform commits.

0
Comment actions Permalink

This is rather an old post, but it is still pops up if you google for Perforce Remote Run. Therefore, for the convenience of  other users, I beleive it makes sense to post the link for the free plugin, which does exactly the thing - triggers Personal build etc. from P4V GUI. It's available via http://p4tc.dnksoft.eu/

0

Please sign in to leave a comment.