DZone
Cloud Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Cloud Zone > The Cloud Foundry Jenkins Plugin

The Cloud Foundry Jenkins Plugin

Kathy Thomas user avatar by
Kathy Thomas
·
Nov. 19, 14 · Cloud Zone · Interview
Like (0)
Save
Tweet
7.30K Views

Join the DZone community and get the full member experience.

Join For Free

[This article was written by William Gautier.]

 There's a lot of interest in using Stackato in conjunction with continuous integration tools, and the most popular of those tools is Jenkins CI. Until now, the only ways to deploy your applications to Cloud Foundry or Stackato from a Jenkins build were to:

  • install a command line client on the Jenkins server, then use shell commands as part of your build,
  • use the Cloud Foundry Maven plugin (if you're using Maven) or
  • use the proprietary Jenkins Enterprise by CloudBees.

With the new Cloud Foundry Jenkins Plugin (MIT License), you can deploy applications to any Cloud Foundry-based PaaS just by installing this free plugin.

Installation

The Cloud Foundry plugin is available from the jenkinsci/cloudfoundry repository on Github, so you can install it on any Jenkins instance. Go to the Plugin manager on your Jenkins instance, and search for “Cloud Foundry” in the “Available” tab.

Installing the plugin

Usage

You will find the plugin in the list of post-build actions in your build's configuration page.

Select Push to Cloud Foundry

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.

Enter the target API endpoint credentials

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

Try it out

Jenkins itself can be deployed to Stackato in a couple of clicks from the App Store. So if you're already working with Stackato, deploying Jenkins CI with Cloud Foundry integration is just a few clicks away!

Cloud Foundry Jenkins (software) Cloud CI/CD

Published at DZone with permission of Kathy Thomas, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Top Soft Skills to Identify a Great Software Engineer
  • Why I'm Choosing Pulumi Over Terraform
  • Synchronization Methods for Many-To-Many Associations
  • Open Source Security Risks

Comments

Cloud Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo