Skip to content

Sam build does ont work with no modification #293

Closed
@christianv2m

Description

@christianv2m
  • Implementations: Spring Boot

Scenario

Just download the example, rename sam.yml to template.yml and make a sam build.
It just gives error.

Expected behavior

Build properly.

Actual behavior

PS C:\Projectes\Fira\LeadRetrieval\i2> sam build
Building resource 'PetStoreFunction'
Running JavaGradleWorkflow:GradleBuild

Build Failed
Error: JavaGradleWorkflow:GradleBuild - Gradle Failed: Gradle build file not found: C:\Projectes\Fira\LeadRetrieval\i2\target\serverless-spring-boot-example-1.0-SNAPSHOT-lambda-package.zip\build.gradle
PS C:\Projectes\Fira\LeadRetrieval\i2>

Steps to reproduce

  1. download sample
  2. rename sam.yml to template.yml
  3. sun sam build

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions