Maintained with ☕️ by
IcePanel logo

AWS CodeBuild Now Supports Additional Shell Environments

Share

Services

[AWS CodeBuild](/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](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html#build-spec-ref-syntax). To learn more about how to get started with CodeBuild, visit the [product page](/codebuild/) or the CodeBuild [console](https://console.aws.amazon.com/codebuild/home).