"BundleType must be either YAML or Json" Error using Jenkins and AWS CodeDeploy "BundleType must be either YAML or Json" Error using Jenkins and AWS CodeDeploy jenkins jenkins

"BundleType must be either YAML or Json" Error using Jenkins and AWS CodeDeploy


Today CodeDeploy lambda deployment only take in a YAML or JSON file as deployment revision input (which is just your AppSpec file). Today CodeDeploy Jenkins plugin needs to be updated to support uploading YAML or JSON file without zipping it: https://github.com/jenkinsci/aws-codedeploy-plugin/blob/master/src/main/java/com/amazonaws/codedeploy/AWSCodeDeployPublisher.java#L230