Skip to content

Commit 6e81177

Browse files
authored
Update buildspec.yml
1 parent 41084c5 commit 6e81177

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildspec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ phases:
99

1010
pre_build:
1111
commands:
12+
- echo "Entering the project directory"
13+
- cd server # Change to the correct directory where your pom.xml is located
1214
- echo "Nothing to do in the pre_build phase..."
1315

1416
build:
@@ -17,7 +19,6 @@ phases:
1719
- mvn clean package
1820
- pwd # Print the working directory
1921
- ls -la # List all files in the current directory
20-
- ls -la /codebuild/output/*/src/target # List contents of the expected target directory
2122

2223
post_build:
2324
commands:

0 commit comments

Comments
 (0)