Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42548

Cloud Foundry Push Error

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • cloudfoundry-plugin
    • None
    • Jenkins Version: 2.48
      Cloud FoundryPlugin: 1.5
      Operating System: MAC OS
      Google Chrome Browser

    Description

      Hi,

       

      I am having issues to push to Cloud Foundry through Jenkins. I am using Cloud Foundry plugin (1.5). It is giving an below error. But on CF app is getting updated and running successfully though it is erroring out on Jenkins. Please assist.

       

      Thanks,

      RM

       

      ***********************************************

       

      BUILD SUCCESSFUL

       

      Total time: 5.322 secs

      Cloud Foundry Plugin:

      WARNING: No manifest value for hostname. Using app name: config-service

      Pushing config-service app to https://api.run.pivotal.io<https://api.run.pi=

      votal.io/>

      App already exists, skipping creation.

      Pushing app bits.

      Restarting application.

      WARNING: Exception occurred trying to get staging logs via websocket. Switc=

      hing to alternate method.

      WARNING: Could not get staging logs with alternate method. Cannot display s=

      taging logs.

      org.cloudfoundry.client.lib.org.springframework.web.client.HttpServerErrorE=

      xception: 503 Service Unavailable

              at org.cloudfoundry.client.lib.rest.CloudControllerResponseErrorHan=

      dler.handleError(CloudControllerResponseErrorHandler.java:26)

              at org.cloudfoundry.client.lib.org.springframework.web.client.RestT=

      emplate.handleResponseError(RestTemplate.java:589)

              at org.cloudfoundry.client.lib.org.springframework.web.client.RestT=

      emplate.doExecute(RestTemplate.java:547)

              at org.cloudfoundry.client.lib.rest.LoggingRestTemplate.doExecute(L=

      oggingRestTemplate.java:54)

              at org.cloudfoundry.client.lib.org.springframework.web.client.RestT=

      emplate.execute(RestTemplate.java:511)

              at org.cloudfoundry.client.lib.org.springframework.web.client.RestT=

      emplate.getForObject(RestTemplate.java:248)

              at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.getIn=

      stanceInfoForApp(CloudControllerClientImpl.java:1154)

              at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.doGet=

      ApplicationStats(CloudControllerClientImpl.java:1140)

              at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.getRu=

      nningInstances(CloudControllerClientImpl.java:1119)

              at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.mapCl=

      oudApplication(CloudControllerClientImpl.java:1107)

              at org.cloudfoundry.client.lib.rest.CloudControllerClientImpl.getAp=

      plication(CloudControllerClientImpl.java:1075)

              at org.cloudfoundry.client.lib.CloudFoundryClient.getApplication(Cl=

      oudFoundryClient.java:226)

              at com.hpe.cloudfoundryjenkins.CloudFoundryPushPublisher.processOne=

      App(CloudFoundryPushPublisher.java:287)

              at com.hpe.cloudfoundryjenkins.CloudFoundryPushPublisher.perform(Cl=

      oudFoundryPushPublisher.java:188)

              at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20=

      )

              at hudson.model.AbstractBuild$AbstractBuildExecution.perform(Abstra=

      ctBuild.java:779)

              at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuil=

      dSteps(AbstractBuild.java:720)

              at hudson.model.Build$BuildExecution.post2(Build.java:185)

              at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractB=

      uild.java:665)

              at hudson.model.Run.execute(Run.java:1745)

              at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)

              at hudson.model.ResourceController.execute(ResourceController.java:=

      98)

              at hudson.model.Executor.run(Executor.java:404)

      Build step 'Push to Cloud Foundry' marked build as failure

      Finished: FAILURE

       

      ************************************************

      Attachments

        Activity

          sworisbreathing Steven Swor added a comment -

          rmukkoti - Does this issue still occur with the 2.x version of the plugin? The way logs are retrieved has been changed since version 2.0

          sworisbreathing Steven Swor added a comment - rmukkoti - Does this issue still occur with the 2.x version of the plugin? The way logs are retrieved has been changed since version 2.0

          People

            williamg William Gautier
            rmukkoti R M
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: