Pushes a project to Cloud Foundry or a CF-based platform (e.g. Stackato) at the end of a build.

Usage

You will find the plugin in the list of post-build actions in your build's configuration page.(Note: as of version 2.1, the plugin is also available as a build step)

Enter your target URL and your credentials, then test your connection to make sure you won't have problems during the build. Check the "Allow self-signed certificate" if you're using a Stackato micro cloud, or any other PaaS without signed SSL certificates.

If your application already has a manifest.yml in its root directory, you can leave the “Read app info from manifest.yml” checked. Unchecking it will reveal additional settings that you will need to fill out.

That’s it! Start a new build, and your application will be pushed at the end of it.

Advanced

Services

You can specify services that will be bound to your app, either in the manifest file or in the Jenkins config. However, this only binds existing services, it does not create them. You can either create the services beforehand manually, or use the "Create services before pushing" option.

Proxy

The plugin will push applications through the proxy used by Jenkins. You can change these settings in Manage Plugins → Advanced → Proxy configuration.