jenkins-control-plugin icon indicating copy to clipboard operation
jenkins-control-plugin copied to clipboard

Jenkins settings should be stored globally rather than per-project

Open baron1405 opened this issue 9 years ago • 8 comments

Just tried out this plugin and I love the functionality! However, there is one issue that makes using the plugin clumsy, the Jenkins settings are stored per-project rather than globally. Since I typically have a number of projects open at the same time, this means I must configure the plugin in each project. That is both tedious and inefficient. Please make the Jenkins settings global (i.e. store them in the ~/.IntelliJ* directory rather than the per-project (i.e. .idea) directory. This would allow the plugin's setting to be set using the Project Default settings and all project windows would be configured at the same time.

Thanks for your great plugin and for considering this enhancement request.

baron1405 avatar Jan 21 '16 18:01 baron1405

4 years later, want to revive this enhancement.

psulightning avatar Jul 30 '20 11:07 psulightning

As i saw in code some setting are application wide (like server and so on)

But I can look what is needed for application wide. Maybe a switch to use per project or globally like other plugins do

MCMicS avatar Jul 30 '20 12:07 MCMicS

When I open up the configuration for the plugin, it only has "For current project" and retains no information from previous configurations in other projects. That being said, the plugin works great when fully configured. Just don't want to have to repeat the same stuff for the 10+ projects I have.

psulightning avatar Aug 24 '20 13:08 psulightning

Its on list I try to add them for 0.14.0

When I open up the configuration for the plugin, it only has "For current project" and retains no information from previous configurations in other projects. Yes thats it is said. But If you open a new project without setting the old project show no jobs until you click test connection again. But this this sounds like a bug with multiple projects #211 and #167

I will create an option to choose between application or project settings (like other plugin also offer)

MCMicS avatar Aug 24 '20 17:08 MCMicS

Any updates on this issue? I also have the same issue. It is great when configured but I use many different projects so it takes a long time to set up for each one

aidanc-retailx avatar Dec 01 '20 04:12 aidanc-retailx

Im working on it. It take some time because I need to migrate old data to new storage.

I coukd give you an early version without migration in the next weeks

MCMicS avatar Dec 01 '20 06:12 MCMicS

For example, on pycharm, you can configure / toggle wether a python environment is saved globally or only by the project. And select python executables from those globally saved envs.

This is quite an important use case, as I only use one or two jenkins cluster. But the projects running on these clusters are dozens if not hundreds, Each time I open a new project, I have to add credentials and urls again, or move to an old project where the settings are already there. This makes this plugin quite unusable for me. Most of time, it would be actually convenient by simply going to the web UI.

The simplest solution I see is to save everything globally, then each project you simply select one server to be active (on display).

TiansuYu avatar Oct 05 '23 12:10 TiansuYu

Yes i think about it to make it configurable. I plan to configure globally ane use for single projects

MCMicS avatar Oct 05 '23 12:10 MCMicS