vscode-jenkins-status icon indicating copy to clipboard operation
vscode-jenkins-status copied to clipboard

User-level config

Open pzelnip opened this issue 7 years ago • 6 comments

Right now I have many repos that I interact with (microservices architecture). As well, the Jenkins that builds each of those projects requires authentication for getting build status. This means that with the extension I currently have to duplicate my name & password in a .jenkins file for each repo I have checked out, which isn't great from a security POV, as well as from a DRY perspective (if my password changes I now have to update multiple .jenkins files).

It'd be great if the name/password could be defined in one place (maybe like ~/.jenkins) and that used as the default config for repos (I'd still want the ability to on a project-by-project basis be able to override those creds for when I interact with a different repo).

pzelnip avatar Dec 20 '17 22:12 pzelnip

Hi @pzelnip ,

I'm sorry for taking so long to answer you. I saw your post but wasn't near a workable computer and ended up forgetting to answer you 😢 .

Anyway, I think that instead of another file to store your authentication keys, why not store them on User Settings, like other VS Code settings?

alefragnani avatar Jan 16 '18 23:01 alefragnani

The only hesitation I have about throwing them in User Settings is I use the Settings Sync extension which throws all my settings into a gist on Github.

pzelnip avatar Jan 17 '18 02:01 pzelnip

That's a good point 😄

Ok then, an external file to store Jenkins credentials 👍

alefragnani avatar Jan 17 '18 14:01 alefragnani

has this ever been implemented?

webratz avatar Jul 11 '18 14:07 webratz

Hi @webratz ,

No, not yet. Do you have plans in contribute, or are willing to use?

alefragnani avatar Jul 16 '18 15:07 alefragnani

in this case i would be more interested from a users point of view :)

webratz avatar Jul 17 '18 05:07 webratz