copy-source - Cloud Foundry CLI Reference Guide


名称

copy-source - Copies the source code of an application to another existing application and restages that application

用法

cf copy-source SOURCE_APP DESTINATION_APP [-s TARGET_SPACE [-o TARGET_ORG]] [--no-restart] [--strategy STRATEGY] [--no-wait]

选项

--strategy

Deployment strategy, either rolling or null

--no-wait

Exit when the first instance of the web process is healthy

--no-restart

Do not restage the destination application

--organization, -o

Org that contains the destination application

--space, -s

Space that contains the destination application

环境

CF_STAGING_TIMEOUT=15 Max wait time for staging, in minutes
CF_STARTUP_TIMEOUT=5 应用程序实例启动的最长等待时间(分钟)

另请参阅

apps, push, restage, restart, target