title: Not able to configure Jenkins to deploy a spring boot application on cloud foundry
body: <p>I have a <code>Spring Boot</code> application that exposes a <code>REST</code> api (<code>http://localhost:8080/hello-world-rest-demo/api/hello</code>) and prints <code>Hello World</code> string.</p>
  
  <p>I have successfully deployed this application on both local and remote <code>Tomcat</code> through <code>Jenkins</code> and it is working fine without any issues. I have also deployed it to my <code>Cloud Foundry</code> account using <code>cf push</code> command through <code>CLI</code> after creating the <code>manifest.yml</code> file successfully and is working a expected (<code>https://hello-world-rest-demo.cfapps.io/api/hello</code> returns <code>200</code> status code and prints <code>Hello World</code>). </p>
  
  <p>However, the problem is that my <code>Jenkins</code> integration with <code>Cloud Foundry</code> is not working as expected and I am not able to deploy it through <code>Jenkins</code> (running on a separate physical machine which does not have <code>Cloud Foundry</code> <code>CLI</code> installed).</p>
  
  <p>Not sure what am I missing here.</p>
  
  <p><a href="https://i.stack.imgur.com/QjsrB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QjsrB.png" alt="enter image description here"></a> </p>
  
  <p><strong>manifest.yml</strong></p>
  
  <pre><code>---
  applications:
  - name: hello-world-rest-demo
    path: target/hello-world-rest-demo.war
  </code></pre>