Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team6-Digital Insight for Health
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chen Liang
Team6-Digital Insight for Health
Commits
239acc99
Commit
239acc99
authored
4 months ago
by
Burhan Akbar
Browse files
Options
Downloads
Patches
Plain Diff
Adjusting a bigger change deploys v9...
parent
3cf985af
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+3
-12
3 additions, 12 deletions
Jenkinsfile
with
3 additions
and
12 deletions
Jenkinsfile
+
3
−
12
View file @
239acc99
...
...
@@ -62,18 +62,9 @@ pipeline {
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!"
echo "Extracting ENTIRE JAR to /tmp/jenkins-jar-extract..."
rm -rf /tmp/jenkins-jar-extract # Clean up previous attempt if any
mkdir -p /tmp/jenkins-jar-extract
# Extract the whole JAR into the temp directory
jar xf build/libs/HealthCare-0.0.1-SNAPSHOT.jar -C /tmp/jenkins-jar-extract || echo "Failed to extract ENTIRE JAR!"
echo "Content of beds.html extracted from JAR:"
# Cat the file from its expected location within the extracted structure
cat /tmp/jenkins-jar-extract/BOOT-INF/classes/static/html/beds.html || echo "Failed to cat extracted beds.html!"
# Clean up
rm -rf /tmp/jenkins-jar-extract
# Use unzip -p to print the content directly
echo "Content of beds.html directly from JAR (using unzip -p):"
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!"
'''
echo
"---------------------------------------------"
// --- END DEBUGGING ---
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment