Posted On: Jun 25, 2020

AWS CodeBuild now supports the bash and CMD shell environments for executing commands and scripts. The bash shell is available for machines hosting versions of Amazon Linux or Ubuntu, and the CMD shell is available on machines hosting versions of Microsoft Windows Server.

Using the new natively-supported shell types avoids the need to rewrite your shell scripts to be executed by CodeBuild. This simplifies the creation of a CodeBuild Project by reducing the number of files that must be updated or added. You can get started by updating a CodeBuild Project’s build commands or buildspec file to include a new field that indicates the shell type to use during the Project's execution. 

To learn more about using CodeBuild, visit our documentation. To learn more about how to get started with CodeBuild, visit the product page or the CodeBuild console