Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    TCP Agent configuration

    Scheduled Pinned Locked Moved Support
    buildmaster
    2 Posts 2 Posters 17 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sergio.gonzalez_0157
      last edited by

      Hello everyone,

      I've been asigned with managing an existing buildmaster server and I'm having quite some trouble configuring the deployment workflow.
      Here's a brief summary of my situation:

      • I have my Server: ProductionServer, Inedo Agent (v46, ProductionServer:1001); Status: Ready; Agent: Inedo; Environments: Development, Testing, Acceptance, Clone; Roles: JumpServer
      • My new Server: ProductionServer2, Inedo Agent (v51, ProductionServer2:1001); Status: Ready; Agent: Inedo; Environments: Clone; Roles: JumpServer2
      • In addition I also have a local BuildMaster Server, bmx::local; Status: Ready; Agent: Local, Environments: none; Roles: none
      • My deployment script is something like this:
              for server BuildMaster Server
              {
                  InedoCore::Exec
                  (
                      FileName: C:\Tools\HolyDevCli\HolyDevCli.exe,
                      ...
                  );
              }
      
      • However, when I check the execution logs, here's what I get:
      DEBUG: 2024-01-30 14:53:49Z - Using LocalAgent agent on BuildMaster Server
      DEBUG: 2024-01-30 14:53:49Z - Process: C:\Tools\HolyDevCli\HolyDevCli.exe
      ...
      INFO : 2024-01-30 14:53:49Z - Executing C:\Tools\HolyDevCli\HolyDevCli.exe...
      INFO : 2024-01-30 14:53:50Z - Busy
      INFO : 2024-01-30 14:53:50Z - Process exited with code: 0 (success)
      DEBUG: 2024-01-30 14:53:50Z - Using TcpAgent agent on ProductionServer
      

      And I have no idea where or how it is set the destination server to be "ProductionServer"

      I'm running Version 6.2.14 (Build 17)

      Any help or new idea would be greatly appreciated.
      Many thanks in advance

      dean-houstonD 1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer @sergio.gonzalez_0157
        last edited by

        Hi @sergio-gonzalez_0157 ,

        Typically, Deployment Targeting is done in the Pipeline:
        https://docs.inedo.com/docs/buildmaster/deployment-continuous-delivery/buildmaster-pipelines#deployment-targets

        This way, you don't need to put for server or anything in your script.

        So, my guess is that your Pipeline is actually targeting the ProductionServer (but not running anything on it, except intializing the agent), but your script is targeting the BuildMasterServer.

        -- Dean

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation