Search code examples
gitibm-cloudcloud-foundrydevops

ibm cf git deploy stage invalid app name format


I'm using git to push code to my app on cf . I can build the app. but when I'm at the deploy stage. I keep getting app name is invalid format.

below is the error log.

Downloading artifacts...DOWNLOAD SUCCESSFUL
Target: https://api.ng.bluemix.net
Using manifest file /home/pipeline/992ac343-b17e-4565-9209-c5b28602fd41/manifest.yml

Creating app 我的个人åšå®¢ in org ***@outlook.com / space dev as ***@outlook.com...
FAILED
Server error, status code: 400, error code: 100001, message: The app is invalid: name format

Finished: FAILED

I change the app name to ANCI name.but still got the same error.

below is the manifest.yml

applications:
- path: .
  memory: 512M
  instances: 1
  domain: mybluemix.net
  name: myblog
  host: blog
  disk_quota: 1024M
  buildpack: python_buildpack

Solution

  • Since you are using the Delivery Pipeline in IBM DevOps Services, you can check your Deploy stage configuration going to Build & Deploy -> Deploy stage -> Settings -> Configure Stage. Double check that the name of your application there matches the real application name.