We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7966950 commit 08b71dbCopy full SHA for 08b71db
buildspec.yml
@@ -5,7 +5,6 @@ phases:
5
runtime-versions:
6
java: corretto11
7
commands:
8
- # Skip yum update as it may not be available in some CodeBuild environments
9
- echo "Skipping yum update..."
10
11
pre_build:
@@ -21,4 +20,5 @@ phases:
21
20
22
- echo "Build completed"
23
- aws ssm get-parameter --name maddy-test --with-decryption --query "Parameter.Value" --output text > private_key.pem
24
- - scp -i private_key.pem target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war
+ - ls -la target # List the contents of the target directory for debugging
+ - scp -v -i private_key.pem target/webapp.war ubuntu@44.204.28.186:/home/ubuntu/webapp.war
0 commit comments