'Jenkins deploy error : Unable to assign current droplet. Ensure the droplet exists and belongs to this app. FAILED
Hi I am trying to deploy an application via jenkins pipeline. I have not changed any configurations in jenkins and deployment was successful multiple times previously. I just updated my app and trying to redeploy after a successful jenkins build. However I am getting the below error :
+ cf curl '/v3/deployments?app_guids=e6abb4bc-4d76-4584-ac9b-4fa5885277ff&page=2&per_page=50'
[Pipeline] readJSON
[Pipeline] sh
+ set +x
[StratusPipeline][app-deploy][INFO]
last Deployment status us DEPLOYING
[Pipeline] sh
+ cf cancel-deployment My-App-Name
Canceling deployment for app My-App-Name in org DIG-QAZ-IPL / space dev as ****...
Unable to assign current droplet. Ensure the droplet exists and belongs to this app.
FAILED
+ true
[Pipeline] sh
+ cf push --strategy rolling -p my-app-name-rel-1.0-0.1.48912-373.jar -f /var/lib/jenkins/workspace/MyWorkspace/np/my-app-name-deploy-np/manifests/manifest-west-dev.yml
Pushing app My-App-Name to org DIG-QAZ-IPL / space dev as ****...
Applying manifest file /var/lib/jenkins/workspace/MyWorkspace/np/my-app-name-deploy-np/manifests/manifest-west-dev.yml...
For application 'My-App-Name': Cannot update this process while a deployment is in flight.
FAILED
[Pipeline] sh
+ cf logs My-App-Name --recent
[Pipeline] sh
+ set +x
[StratusPipeline][[STAGE:app-deploy]][ERROR]
Deployment to PCF failed... check the cf-deploy.log file in the job workspace
I am not a jenkins guy. But can anyone suggest what can be the issue. What is meant by droplet is it referring to the application ?? Is there any workaround for this ? Or anyone can throw some light on the error. Sorry I have only this much log with me.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
