[JIRA] (JENKINS-58380) Unable to push a docker image to Cloud Foundry

2 views
Skip to first unread message

Arutsudar.A@cognizant.com (JIRA)

unread,
Jul 8, 2019, 10:06:02 AM7/8/19
to jenkinsc...@googlegroups.com
Arutsudar A created an issue
 
Jenkins / Bug JENKINS-58380
Unable to push a docker image to Cloud Foundry
Issue Type: Bug Bug
Assignee: Olivier Lamy
Attachments: cf app recent error log, Cloud Foundry Plugin Output Error, Jenkinsfile
Components: cloudfoundry-plugin
Created: 2019-07-08 14:05
Environment: Jenkins ver. 2.138.2
Cloud Foundry Plugin v2.3.2
Labels: cloudfoundry docker
Priority: Major Major
Reporter: Arutsudar A

Hi Team,

I am trying to push a docker registry image to CloudFoundry using the Cloud Foundry Plugin. I have added registry url and username in manifest.yml file and providing the password in the environment variable as mentioned in cf docs. The application fails in the staging step.

It says,
java.lang.IllegalStateException: Application SpringDemo-3 failed during staging

It actually doesn't consider it as a docker deployment. Rather it considers it as a normal application deployment and searches for the buildpac k.

2019-07-08T19:23:14.80+0530 [STG/0] ERR None of the buildpacks detected a compatible application

 

Are there any sample pipelines where a docker image is being pushed to CloudFoundry?

 

Note:

  • Attached the Jenkinsfile (with few values changed for security reasons) and error logs.
  • Jenkins has been installed as a PCF tile.

 
Regards,

Arutsudar

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages