-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add "-r, --noprompt" flag to sfdx plugins:install command #83
Comments
Hello @ImJohnMDaniel |
@genoud -- Thanks for the tip. That is exactly what we ended up doing and what led to this feature request. ;-) |
@genoud That saved my life - thanks! |
@ImJohnMDaniel there's two other more elegant options I'd suggest.
1 is probably the better option for CI because your CI may get some npm-caching benefits and more granular control of which version of the plugin you're running. |
@mshanemc, I'm on windows and this may be a more windows-specific problem but I've found that when I have a plugin linked then execution of all commands is slower as it seems to re-compile/process the linked plugins every time. I have never dug into the root cause, I just don't leave plugins linked as much as I used to. (edited as I realized that solution was already provided above) |
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
@mshanemc -- Apologies, I did not see your earlier comment from Dec 4, 2020. I am aware of both options that you are referring to in that post and neither are an option for me. Just curious, why are you designating this as "wontfix". I would expect this to be an extremely small LOE -- Simply add the flag and put in an if/then statement. |
It's the type of thing that won't fly with security. |
Is your feature request related to a problem? Please describe.
If I setup a Jenkins CI build and specify the "sfdx" as a custom tool, I would also want to install custom plugins that I have created to aid in the build process. Currently, there is no way to execute
sfdx plugins:install foo-bar
without confirming the plugin installation since it is not digitally signed. Because of this, I cannot use the Jenkins Custom Tool plugin when I need specific custom SFDX CLI plugins as well.What are you trying to do
I need a way to dynamically setup the SFDX CLI and plugins that I want to install via the Jenkins custom tool option.
Describe the solution you'd like
I would like a "-r, --noprompt" flag be added to
plugins:install
command so that I can automate on my CI builds the installation of the plugin after the installation of the SFDX CLI itself.Describe alternatives you've considered
I could manually install the SFDX CLI and the plugins on the Jenkins server and not utilize the "custom tool" option, but then I would not be able to dynamically spin up slave Jenkins instances as needed.
The text was updated successfully, but these errors were encountered: