Command Line Interface Reference → Commands → createEnvironment
Associate an environment with an application.
This command was deprecated in Deployment Automation version 5.0, when the product was changed to enable environments to be created at the global level. The command can no longer be used to create environments. However, you can still use it to add existing environments to applications.
For example, the following command would add the PROD environment to the QSocial application.
da-client -weburl "http://serverName:8080/da" -username admin -password admin createEnvironment -application QSocial -name PROD
You cannot use this command for any other purpose in Deployment Automation version 5.0 or higher.
da-client [global-args...] [global-flags...] createEnvironment [args...]
-application, ––application Required. Application to add the environment to.
-name, ––name Required. Name of the environment.
Copyright © 2011–2017 Serena Software, Inc., a Micro Focus company. All rights reserved.