# Build-agent

Build-agent is a containerized, self-hosted build agent that runs your CI/CD build and test jobs on your own hardware. It is open source and self-hosted, installable on Docker Hub and ZimaOS.

Canonical page: https://ourlocalhost.com/app/3937/build-agent

## Description

Build Agent is a containerized, self-hosted build agent that runs your CI/CD build and test jobs on your own hardware. It is aimed at homelabbers and small teams who want to host their own pipeline workers, so build workloads stay in-house rather than on a vendor's cloud.

## Platform availability

Available on 1 of 10 platforms: ZimaOS.

## Health score

17/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (GitHub repository no longer exists)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Light to run: 40 (4 GB minimum RAM, runs on ARM)

## Links

- Docker Hub: https://hub.docker.com/r/maestrodev/build-agent/
- ZimaOS: https://github.com/bigbeartechworld/big-bear-casaos/tree/master/Apps/build-agent

## Common questions

### How can I add extra tools to a self-hosted build agent container?

Extend the base build agent Dockerfile with the tools and dependencies you need, or use it as a base layer for a custom container. You can also use Container Jobs for a lighter abstraction over the host OS.

### Why might a self-hosted Azure pipeline build use an older MSBuild version than requested?

It can happen even when the MSBuild task and build arguments explicitly set the version. The self-hosted agent may still execute the build with a much older installed MSBuild.

### What does “all potential agents are running other requests” mean in an Azure self-hosted pipeline?

It means the agent request cannot start because every potential agent in the pool is currently occupied with other work.

### What should I consider when adding Python to a self-hosted Windows build agent?

Python must be installed on the Windows machine running the agent so the agent has the required runtime support. The example covers adding Python to a Windows 10 laptop running the self-hosted agent.

---
Source: Our Local Host (https://ourlocalhost.com/app/3937/build-agent), the self-hosted and open-source app directory.
