Package br.com.ingenieux.mojo.beanstalk.cmd.env.update

Examples of br.com.ingenieux.mojo.beanstalk.cmd.env.update.UpdateEnvironmentContextBuilder


        new WaitForEnvironmentCommand(this).execute(new WaitForEnvironmentContextBuilder().withStatusToWaitFor("Ready").withApplicationName(applicationName).withEnvironmentRef(otherEnvId).build());

        getLog().info(format("(Blue) Updating environmentId to version %s", versionLabel));

        new UpdateEnvironmentCommand(this).execute(new UpdateEnvironmentContextBuilder().withEnvironmentId(otherEnvId).withVersionLabel(versionLabel).build());

        getLog().info(format("(Blue) Waiting for environmentId['%s'] to get ready and green prior to switching", otherEnvId));

        new WaitForEnvironmentCommand(this).execute(new WaitForEnvironmentContextBuilder().withStatusToWaitFor("Ready").withApplicationName(applicationName).withHealth("Green").withEnvironmentRef(otherEnvId).build());
View Full Code Here


        new WaitForEnvironmentCommand(this).execute(new WaitForEnvironmentContextBuilder().withStatusToWaitFor("Ready").withApplicationName(applicationName).withEnvironmentRef(otherEnvId).build());

        getLog().info(format("(Blue) Updating environmentId to version %s", versionLabel));

        new UpdateEnvironmentCommand(this).execute(new UpdateEnvironmentContextBuilder().withEnvironmentId(otherEnvId).withVersionLabel(versionLabel).build());

        getLog().info(format("(Blue) Waiting for environmentId['%s'] to get ready and green prior to switching", otherEnvId));

        new WaitForEnvironmentCommand(this).execute(new WaitForEnvironmentContextBuilder().withStatusToWaitFor("Ready").withApplicationName(applicationName).withHealth("Green").withEnvironmentRef(otherEnvId).build());
View Full Code Here

TOP

Related Classes of br.com.ingenieux.mojo.beanstalk.cmd.env.update.UpdateEnvironmentContextBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.