This post is intended as an introduction to how to use this plugin.
A starting assumption is that you already have the plugin installed on your Go CD server.
Update: Binary jars are available:
The source code is also available on Github:
Navigate to the Package Repositories section of the Admin menu
Add a new repository with your CloudFoundry API credentials.
Update: In version 1.0.1 the password property has changed to be secured - so you won't see it in cleartext the way is is shown here.
You're now ready to include some Cloud Foundry configuration to a build pipeline with your newly available repository.
The Check Package button will trigger a check on two levels - first that the supplied credentials can log in, and second that an application exists which starts with the specified App Name.
The next step in your pipeline definition depends on what you want to do when a change is detected. From the example settings above there will be an environment variable called GO_PACKAGE_MYCLOUDFOUNDRYDEV_SERVICEX_LABEL set with the latest matching detected app version.