Glossary · Automation software engineering and architecture
Build artefact
Also known as: Build output
German: Build-Artefakt
In software engineering, a build artefact is a file or package produced by a build process, such as an executable, library, firmware image, container image, compiled PLC project or generated documentation, that is stored, tested and deployed as a unit.
- Software engineering
In one sentence
A build artefact is a file or package produced by a build, such as a binary, firmware image or container image, that is tested and deployed.
Example
The pipeline produces a signed firmware image and a compiled PLC archive as build artefacts, each tagged with the source commit and build number.
How it applies
- Engineering: Build once, deploy many times: the same artefact moves through test, staging and production, so what was tested is what gets installed. Rebuilding for each stage risks subtle differences.
- Release: Artefacts should be versioned, immutable and stored in an Artefact repository. Checksums or signatures let service tools verify that an artefact has not been altered.
- Documentation: Link each artefact to its source revision, Build configuration, test results and release notes. Generated documentation, such as API references or parameter lists, can itself be a build artefact of the same pipeline, which keeps it in step with the software.
Build artefact vs. source code
Source code is the input that developers maintain; build artefacts are derived outputs. Artefacts are normally not kept in the source repository, because they can be regenerated and would bloat the history. The exception is when a build cannot be reproduced, for example with an unavailable legacy toolchain; then the artefact itself must be archived.