Skip to content
Snippets Groups Projects
Commit b844600e authored by Burhan Akbar's avatar Burhan Akbar
Browse files

Adjusting a bigger change deploys v10...

parent 239acc99
No related branches found
No related tags found
No related merge requests found
...@@ -62,9 +62,16 @@ pipeline { ...@@ -62,9 +62,16 @@ pipeline {
echo "Listing JAR contents for beds.html:" echo "Listing JAR contents for beds.html:"
jar tf build/libs/HealthCare-0.0.1-SNAPSHOT.jar | grep beds.html || echo "beds.html not found in JAR!" jar tf build/libs/HealthCare-0.0.1-SNAPSHOT.jar | grep beds.html || echo "beds.html not found in JAR!"
# Use unzip -p to print the content directly echo "Attempting to extract beds.html from JAR to current directory:"
echo "Content of beds.html directly from JAR (using unzip -p):" # Extract just the specific file, letting jar create subdirs if needed in the workspace
unzip -p build/libs/HealthCare-0.0.1-SNAPSHOT.jar BOOT-INF/classes/static/html/beds.html || echo "Failed to read beds.html from JAR using unzip!" jar xf build/libs/HealthCare-0.0.1-SNAPSHOT.jar BOOT-INF/classes/static/html/beds.html || echo "Failed to extract beds.html using jar xf!"
echo "Content of extracted beds.html:"
# Cat the file from its expected location relative to workspace root
cat BOOT-INF/classes/static/html/beds.html || echo "Failed to cat extracted beds.html!"
# Clean up the extracted structure from the workspace
rm -rf BOOT-INF
''' '''
echo "---------------------------------------------" echo "---------------------------------------------"
// --- END DEBUGGING --- // --- END DEBUGGING ---
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment