Official Content

This section describes the initial configuration required to run pipelines that leverage the synchronization and build capabilities of GeneXus and GeneXus Server.

Azure pipelines trigger jobs that are executed by agents, which are computing resources with installed software that run one job at a time. Agents are organized into pools, based on their capabilities and installed software.

For GeneXus pipelines, you need to create an Agent pool that includes agents with GeneXus and its installation requirements.

You can use the same machine that a developer already uses for working with GeneXus, as long as it has GeneXus installed and access to GeneXus Server.
During the day, the developer uses the machine for regular development tasks; at night, the same machine acts as an agent to run Azure pipelines.

Creating an Agent pool

Creating and managing Agent pools requires an Administrator account. After logging into Azure DevOps, select your organization and click on "Organization settings" at the bottom of the page.

OrganizationSettings20230504

Next, in the Pipelines section, click on the "Agent pools" option. A list of existing agent pools for this organization, if any, will be displayed on the right.

AgentPools20230504

Click on the "Add pool" button.

AddPool20230504

In the pop-up window, complete the following steps:

  1. Select the "Self-hosted" option.
  2. Enter a name for the pool. Keep in mind that this pool name might be used later in your pipeline scripts.
  3. (Optional) Enter a description.
  4. Under "Pipeline permissions", make sure the checkbox is selected by default.
  5. Click on "Create".

image_20256190276_1_png

 

Adding an Agent to the pool

Once the pool is created, you need to register a machine in the pool that will act as the pipeline executor. This machine must have GeneXus installed, along with the specific requirements needed to generate an application according to the generator configuration defined in the Knowledge Base.

If GeneXus is already installed on the machine, you can proceed with the agent software installation. If not, refer to the hardware and software requirements, and follow the instructions for installing and configuring GeneXus.

Agent software installation

Click on the newly created agent pool, and then click on "New agent" in the upper right corner.

 image_2025620162546_1_png

You will then see all available system options for the new agent. Select "Windows" and "x64".

GetTheAgent20230504

Download the agent to the machine you plan to use and follow the instructions to complete the setup.

During the process, you will be prompted to use a Personal Access Token (PAT), which can be obtained from the menu shown in the image below.
image_2025620162734_1_png
Store the PAT securely for future use—it may be required to register agents in the same pool.

You can verify that the agent has been successfully configured if it appears in the "Agents" tab of the newly created agent pool.

image_202562016400_1_png

It is recommended to install the agent as a Windows service.
The agent should run under a system administrator account to ensure it has the necessary execution permissions.

Additionally:

  • Using the same Windows user, make sure to run the following command at least once from the Command Prompt:

 

genexus /install

  • For a better experience, it is recommended that the SQL Server instance used by GeneXus has Windows Authentication enabled.

Ensure that the same administrator user running the agent also has administrator privileges on SQL Server.

 

Last update: June 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant