Skip to content

Commit

Permalink
Test jar file as well
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Apr 24, 2024
1 parent 8d46a17 commit 3be0f55
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions etc/scripts/test-archetypes-executable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ function testApplication() {
fi
}

# Iterate through project with native-image option selected, build native image executable,
# Run the executable and ping simple-greet endpoint
readonly LINE_NUMBERS=$(grep -n native-image ${TARGET_DIR}/permutations.txt | cut -d : -f 1)
# Iterate through project with native-image option selected and quickstart,
# build native image executable, run the executable and ping simple-greet endpoint
readonly LINE_NUMBERS_NATIVE_IMAGE=$(grep -n native-image ${TARGET_DIR}/permutations.txt | cut -d : -f 1)
readonly LINE_NUMBERS_QUICKSTART=$(grep -n quickstart ${TARGET_DIR}/permutations.txt | cut -d : -f 1)
readonly LINE_NUMBERS="${LINE_NUMBERS_NATIVE_IMAGE} ${LINE_NUMBERS_QUICKSTART}"

for PROJECT_NUMBER in ${LINE_NUMBERS}; do

Expand Down

0 comments on commit 3be0f55

Please sign in to comment.