aws

Disable Gralde tests when building projects with SAM

The Serverless Application Model (SAM) allows to easily build, deploy and run serverless applications on AWS. I like the fact that SAM is able to work with Lambda functions that are written in Java and are using Gradle as build tool. When running sam build to (re-)build any such function, SAM will always do a gradle clean build which includes execution of tests. This makes total sense when running in a CI/CD pipeline.
Read more