Package org.apache.continuum.distributed.transport.slave

Examples of org.apache.continuum.distributed.transport.slave.SlaveBuildAgentTransportService


        try
        {
            if ( isAgentAvailable( buildAgentUrl ) )
            {
                log.debug( "Getting build result of project in build agent {}", buildAgentUrl );
                SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                    buildAgentUrl );

                Map<String, Object> result = client.getBuildResult( projectId );

                if ( result != null )
                {
                    int buildDefinitionId = ContinuumBuildConstant.getBuildDefinitionId( result );
View Full Code Here


            String platform = "";
            if ( isAgentAvailable( buildAgentUrl ) )
            {
                log.debug( "Getting build agent {} platform", buildAgentUrl );

                SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                    buildAgentUrl );
                platform = client.getBuildAgentPlatform();
            }
            else
            {
                log.debug( "Unable to get build agent platform. Build agent {} is not available", buildAgentUrl );
            }
View Full Code Here

        {
            if ( isAgentAvailable( buildAgentUrl ) )
            {
                log.debug( "Getting available installations in build agent {}", buildAgentUrl );

                SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                    buildAgentUrl );

                List<Map<String, String>> installationsList = client.getAvailableInstallations();

                for ( Map context : installationsList )
                {
                    Installation installation = new Installation();
                    installation.setName( ContinuumBuildConstant.getInstallationName( context ) );
View Full Code Here

                if ( isAgentAvailable( buildAgentUrl ) )
                {
                    log.debug( "Generating working copy content of project in build agent {}", buildAgentUrl );

                    SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                        buildAgentUrl );
                    return client.generateWorkingCopyContent( projectId, directory, baseUrl, imageBaseUrl );
                }
                else
                {
                    log.debug( "Unable to generate working copy content of project. Build agent {} is not available",
                               buildAgentUrl );
View Full Code Here

            try
            {
                if ( isAgentAvailable( buildAgentUrl ) )
                {
                    SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                        buildAgentUrl );
                    return client.getProjectFile( projectId, directory, filename );
                }
            }
            catch ( MalformedURLException e )
            {
                log.error( "Invalid build agent url " + buildAgentUrl );
View Full Code Here

            if ( isAgentAvailable( buildAgentUrl ) )
            {
                log.info( "Removing projectGroupId {} from prepare build queue of build agent {}", projectGroupId,
                          buildAgentUrl );

                SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                    buildAgentUrl );
                client.removeFromPrepareBuildQueue( projectGroupId, scmRootId );
            }
            else
            {
                log.debug(
                    "Unable to remove projectGroupId {} from prepare build queue. Build agent {} is not available",
View Full Code Here

        try
        {
            if ( isAgentAvailable( buildAgentUrl ) )
            {
                log.info( "Removing projectId {} from build queue of build agent {}", projectId, buildAgentUrl );
                SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                    buildAgentUrl );
                client.removeFromBuildQueue( projectId, buildDefinitionId );
            }
            else
            {
                log.debug( "Unable to remove projectId {} from build queue. Build agent {} is not available", projectId,
                           buildAgentUrl );
View Full Code Here

                {
                    if ( isAgentAvailable( buildAgentUrl ) )
                    {
                        log.info( "Removing project groups from prepare build queue of build agent {}", buildAgentUrl );

                        SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                            buildAgentUrl );
                        client.removeFromPrepareBuildQueue( hashCodes );
                    }
                    else
                    {
                        log.debug(
                            "Unable to remove project groups from prepare build queue. Build agent {} is not available",
View Full Code Here

                {
                    if ( isAgentAvailable( buildAgentUrl ) )
                    {
                        log.info( "Removing projects from build queue of build agent {}", buildAgentUrl );

                        SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                            buildAgentUrl );
                        client.removeFromBuildQueue( hashCodes );
                    }
                    else
                    {
                        log.debug( "Unable to remove projects from build queue. Build agent {} is not available",
                                   buildAgentUrl );
View Full Code Here

                    if ( isAgentAvailable( buildAgentUrl ) )
                    {
                        log.debug( "Checking if project {} is in prepare build queue of build agent {}", projectId,
                                   buildAgentUrl );

                        SlaveBuildAgentTransportService client = createSlaveBuildAgentTransportClientConnection(
                            buildAgentUrl );

                        List<Map<String, Object>> projects = client.getProjectsAndBuildDefinitionsInPrepareBuildQueue();

                        for ( Map<String, Object> context : projects )
                        {
                            int pid = ContinuumBuildConstant.getProjectId( context );
                            int buildId = ContinuumBuildConstant.getBuildDefinitionId( context );
View Full Code Here

TOP

Related Classes of org.apache.continuum.distributed.transport.slave.SlaveBuildAgentTransportService

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.