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.