Status: Closed (View Workflow)
Resolution: Won't Do
If a user has logged in to Jenkins with active directory username and password, with a domain configured or discovered via the active directory plugin, then publish-over-cifs ought to be able to use these values to authenticate when connecting to the remote cifs server to publish files.
I want to add support for the Credentials plugin and not manage credentials internally, I am not sure what the capability is for prompting, but I think that should be possible once that is implemented.
I guess then we need a credentials parameter type which can
- optionally default to a some stored credentials
- optionally inject into the environment
- be used as "job" scope credentials by other publish plugins
Should I open a new issue for that?
The credentials would be managed at the job level, look at the wiki page for the credentials plugin. No new issue is needed.
For your information, all publish-over-cifs component type JENKINS issues related to the Publish Over CIFS plugin have been transferred to Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues
Here is the direct link to this issue in Github: https://github.com/jenkinsci/publish-over-cifs-plugin/issues/64
And here is the link to a search for related issues: https://github.com/jenkinsci/publish-over-cifs-plugin/issues?q=%22JENKINS-22561%22
(Note: this is an automated bulk comment)
Or maybe the a new "interactive" credentials type; which, when included in a job, prompt the user for credentials when the job starts.
These can then be supplied to the various plugins as configured.