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-path when running with run command and support default value #573

Merged
merged 2 commits into from
Jan 5, 2025

Conversation

jonesbusy
Copy link
Collaborator

By default when running without plugin argument it will use the local directory using implicit --plugin-path . arg.

This would make very easy to run recipes during development or when refreshing a very old plugin (where some action are manual because we cannot do magic).

For example I use this approach on jenkinsci/pipeline-cps-http-plugin#16

Testing done

Automated tests

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

@jonesbusy jonesbusy added the chore label Jan 5, 2025
@jonesbusy jonesbusy marked this pull request as ready for review January 5, 2025 08:47
@jonesbusy jonesbusy merged commit 1c46fc7 into jenkins-infra:main Jan 5, 2025
16 checks passed
@jonesbusy jonesbusy deleted the bugfix/local-run-mode branch January 5, 2025 09:39
@jonesbusy jonesbusy added bug For changelog: Minor bug. Will be listed after features and removed chore labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug For changelog: Minor bug. Will be listed after features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant