amazon-web-services - 用于 Grails 4 的 Aws 构建管道
问题描述
部署代码在 Grails 的部署阶段失败我已经在 buildspech.yml 中显示了代码
version: 0.2
phases:
install:
runtime-versions:
java: corretto11
pre_build:
commands:
- echo "Entered Pre Build Phase"
build:
commands:
- echo "Entered Build Phase"
- echo "Copy Client Complete"
- gradle assemble
- echo "Assemble complete"
# - cd server/build/libs
# - echo "Inside Folder"
# - unzip *.war
# - rm *.war
post_build:
commands:
- echo "Entered Post Build Phase"
artifacts:
files:
- server/build/**/*
我也尝试过 Files build/lib/**/*