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