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 plugin installation when using --clean-download-directory #476

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

scadu
Copy link
Contributor

@scadu scadu commented Sep 16, 2022

Fixes: #379

I stumbled upon the same when trying to clean up the plugins directory to handle Jenkins' rollback, for example.
Updating the conditional should fix the plugin installation process when using --clean-download-directory (which is cleaning the directory contents, not removing the directory itself).

  • 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

Issue mentioned in jenkinsci#379 (comment)
I stumbled upon the same when trying to clean up the `plugins` directory to handle Jenkins' rollback.
@timja timja added the bug Something isn't working label Sep 16, 2022
@timja timja merged commit 2fd115e into jenkinsci:master Sep 16, 2022
@scadu scadu deleted the patch-1 branch September 16, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants