Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix creation of Custom Wars #481

Merged
merged 1 commit into from
May 11, 2023
Merged

Fix creation of Custom Wars #481

merged 1 commit into from
May 11, 2023

Conversation

jtnord
Copy link
Member

@jtnord jtnord commented May 5, 2023

the paths for files should not be absolute but relative.
prior to this change the war contained files like

WEB-INF/lib/... (all the usual entries)
and
/WEB-INF/plugins/... (for the bundled plugins)

fixes: #479

Testing done

IT in #480

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

the paths for files should not be absolute but relative.

prior to this change the war contained files like

WEB-INF/lib/... (all the usual entries)
and
/WEB-INF/plugins/.. (for the bundled plugins)
@jtnord jtnord added the bug label May 5, 2023
@jtnord jtnord requested a review from basil May 5, 2023 17:28
@jtnord jtnord marked this pull request as ready for review May 5, 2023 17:28
@jtnord jtnord merged commit 2eada1c into jenkinsci:master May 11, 2023
@jtnord jtnord deleted the custom-war branch May 11, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

custom-war mojo bundles HPI incorrectly
2 participants