Builds in Amazon CodeBuild
A build represents a set of actions performed by Amazon CodeBuild to create output artifacts (for example, a JAR file) based on a set of input artifacts (for example, a collection of Java class files).
The following rules apply when you run multiple builds:
-
When possible, builds run concurrently. The maximum number of concurrently running builds can vary. For more information, see Quotas for Amazon CodeBuild.
-
If the build project has a concurrent build limit set, builds return an error if the number of running builds reaches the concurrent build limit for the project. For more information, see Enable concurrent build limit.
-
If the build project does not have a concurrent build limit set, builds are queued if the number of running builds reaches the concurrent build limit for the platform and compute type. The maximum number of builds in a queue is five times the concurrent build limit. For more information, see Quotas for Amazon CodeBuild.
A build in a queue that does not start after the number of minutes specified in its time out value is removed from the queue. The default timeout value is eight hours. You can override the build queue timeout with a value between five minutes and eight hours when you run your build. For more information, see Run Amazon CodeBuild builds manually.
It is not possible to predict the order in which queued builds start.
Note
You can access the history of a build for one year.
You can perform these tasks when working with builds:
Topics
- Run Amazon CodeBuild builds manually
- Run builds on Amazon Lambda compute
- Run builds on reserved capacity fleets
- Run builds in batches
- Execute parallel tests in batch builds
- Cache builds to improve performance
- Delete builds in Amazon CodeBuild
- Retry builds manually in Amazon CodeBuild
- Retry builds automatically in Amazon CodeBuild
- Stop builds in Amazon CodeBuild
- Stop batch builds in Amazon CodeBuild
- Trigger Amazon CodeBuild builds automatically
- View build details in Amazon CodeBuild
- View a list of build IDs in Amazon CodeBuild
- View a list of build IDs for a build project in Amazon CodeBuild
- View a running build in Session Manager