Examples of MasterBuildAgentTransportClient


Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    public void startProjectBuild( int projectId )
        throws ContinuumException
    {
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
                new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
            client.startProjectBuild( projectId );
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
            throw new ContinuumException( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    public void returnBuildResult( Map buildResult )
        throws ContinuumException
    {
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
                new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
            client.returnBuildResult( buildResult );
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
            throw new ContinuumException( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    public Map<String, String> getEnvironments( int buildDefinitionId, String installationType )
        throws ContinuumException
    {
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
                new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
            return client.getEnvironments( buildDefinitionId, installationType );
        }
        catch ( MalformedURLException e )
        {
            log.error( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
            throw new ContinuumException( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

            map.put( ContinuumBuildAgentUtil.KEY_PROJECT_GROUP_ID, new Integer( buildContext.getProjectGroupId() ) );
            map.put( ContinuumBuildAgentUtil.KEY_SCM_ROOT_ADDRESS, buildContext.getScmRootAddress() );
           
            try
            {
                MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
                    new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
                client.startPrepareBuild( map );
            }
            catch ( MalformedURLException e )
            {
                log.error( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
                throw new ContinuumException( "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'", e );
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

        }

        // connect to continuum server (master)
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
                 new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
            client.returnScmResult( createScmResult( buildContext ) );
        }
        catch ( MalformedURLException e )
        {
            throw new ContinuumException( "Invalid Continuum Server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
        }
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

            }
   
            // connect to continuum server (master)
            try
            {
                MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient(
                     new URL( buildAgentConfigurationService.getContinuumServerUrl() ) );
                client.prepareBuildFinished( result );
            }
            catch ( MalformedURLException e )
            {
                throw new ContinuumException( "Invalid Continuum Server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
            }
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    protected void setUp()
        throws Exception
    {
        super.setUp();

        masterProxy = new MasterBuildAgentTransportClient( new URL( "http://localhost:9191/master-xmlrpc" ), null,
                                                           null );
    }
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    public void startProjectBuild( int projectId )
        throws ContinuumException
    {
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient( new URL(
                buildAgentConfigurationService.getContinuumServerUrl() ) );
            client.startProjectBuild( projectId, getBuildAgentUrl( projectId ) );
        }
        catch ( MalformedURLException e )
        {
            log.error(
                "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    public void returnBuildResult( Map buildResult )
        throws ContinuumException
    {
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient( new URL(
                buildAgentConfigurationService.getContinuumServerUrl() ) );
            client.returnBuildResult( buildResult, ContinuumBuildAgentUtil.getBuildAgentUrl( buildResult ) );
        }
        catch ( MalformedURLException e )
        {
            log.error(
                "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
View Full Code Here

Examples of org.apache.continuum.distributed.transport.master.MasterBuildAgentTransportClient

    public Map<String, String> getEnvironments( int buildDefinitionId, String installationType )
        throws ContinuumException
    {
        try
        {
            MasterBuildAgentTransportClient client = new MasterBuildAgentTransportClient( new URL(
                buildAgentConfigurationService.getContinuumServerUrl() ) );
            return client.getEnvironments( buildDefinitionId, installationType );
        }
        catch ( MalformedURLException e )
        {
            log.error(
                "Invalid continuum server URL '" + buildAgentConfigurationService.getContinuumServerUrl() + "'" );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.