[Yahoo r3] offers a neat and powerful command line interface which will make your life easier. It can also be managed by using a web interface. [...] So after far too much research, we came up with Yahoo r3, but we still had an itch to scratch: how can we integrate this into our continuous integration workflow? We are using Phing (and Java Ant) for building our sites, so it was nice to have some Phing tasks to work with r3.
He includes two custom Phing tasks for interfacing with the command line Yahoo r3 client - one for project generation and the other to set variables in the process. A sample build file putting them to use is also included.