Introduce downloadOnly and downloadRbt

Review Request #11677 — Created June 25, 2021 and submitted

Information

Jenkins plugin
master

Reviewers

If someone will use the system-wide rbt there is no need
to install a user installed rbt again.

Also download of the patch is necessary for binary diffs
or if the repository is in a subdirectory. So applying with "rbt patch"
would fail. This allows so get more control over the patching.

Added plugin to local jenkins. Tried with and without downloadOnly and with and without download Rbt without a problem.

Also added unit tests for it.

Summary ID
Introduce downloadOnly and downloadRbt
If someone will use the system-wide rbt there is no need to install a user installed rbt again. Also download of the patch is necessary for binary diffs or if the repository is in a subdirectory. So applying with "rbt patch" would fail. This allows so get more control over the patching.
0bad94387379b8b659d83b43ec2973578544dcdf
misery
misery
david
  1. I'm going to change the RBTools config value to "installRBTools" to be a bit more obvious, and change some of the user-facing text. Otherwise this looks good.

    1. Thanks! Did you released it? I don't see a new version here: https://plugins.jenkins.io/rb/

    2. I'm struggling with authentication on their systems. We'll get it released as soon as I can get my access back.

  2. 
      
misery
Review request changed
Status:
Completed
Change Summary:
Pushed to master (00ee66b)