Hi Miguel

I would recommend adding instructions to your plugin on how users can
install it.

The driver should be added to the  $JENKINS_HOME/jdbc-drivers folder:
https://github.com/jenkinsci/database-plugin/blob/bc188d0d9323a1e2b486dec41dde201cd19f6120/src/main/java/org/jenkinsci/plugins/database/GenericDatabase.java#L75

Or you could add a button to the plugin that downloads it for the user
after they have consented?

Thanks
Tim

On Sun, 13 Sep 2020 at 14:09, Miguel Campos <[email protected]> wrote:

>
> Dear group,
> I hope you can help me so get my head arroun on how is the right way of
> doing this.
> I'm trying to build a plugin that that needs to work with databases My
> primary target is oracle database. but since I want to make this pluin
> public I will try to make it also work with other databases like mysql and
> postgress
>
> but oracle is a must for me.
>
> I thought on make the ojdbc available to jenkins in a similar way that is
> done for the mysql driver:
> https://github.com/jenkinsci/database-mysql-plugin
>
> Unfortunately I hae learn that due to license issues ojdbc is not on maven
> repos.
> and I think that if I include somehow the jar into my hpi file that won't
> be suitable to made it to the official jenkins plugins repository.
>
> so how should I handle this.
> Create the plugin with a big warning sign  and make the user responsible
> of adding the ojdbc diver manually to jenkins install?
>
> Thanks of answers.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/9360c3fb-ed96-4d3a-91ba-c07a06204ef4n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/9360c3fb-ed96-4d3a-91ba-c07a06204ef4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAH-3Bic5T51w1EiDwSgeNS-KGv966BtzewpM%2Bpe%3DMF2B9z1jsA%40mail.gmail.com.

Reply via email to