Is it possible to use git/https to release a plugin?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to use git/https to release a plugin?

Ivo Bellin Salarin
Hi all,

My credentials differ (jenkins-ci.org, GitHub) and I would like that mvn use the repository remote rather the one specified in the pom. (Since I can push without problems from it, while mvn has several problems)

May I use git over https to perform a new plugin release?

Thanks in advance,
Ivo

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF88Hnp3tjRa73fGdJpmvwr2hOKfro%2BA4mJ%2BqJ-LjYdkDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to use git/https to release a plugin?

Robert Sandell-2
Yes you should be able to do that, but you need to update the scm section of your pom.

/B

2017-08-23 17:36 GMT+02:00 Ivo Bellin Salarin <[hidden email]>:
Hi all,

My credentials differ (jenkins-ci.org, GitHub) and I would like that mvn use the repository remote rather the one specified in the pom. (Since I can push without problems from it, while mvn has several problems)

May I use git over https to perform a new plugin release?

Thanks in advance,
Ivo

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF88Hnp3tjRa73fGdJpmvwr2hOKfro%2BA4mJ%2BqJ-LjYdkDg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS0B9cR_Y-QqZoH6Bw%3Dwct7o5hHDX_jXE7ZvXSRto5_TcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to use git/https to release a plugin?

James Nord-3
Or you can use `mvn release:prepare release:perform -Dusername=xyz -DPassword=mysecret`  I think (unconfirmed that a section in your maven settings.xml for github.com may also work)

/James

On Thursday, August 24, 2017 at 10:06:33 AM UTC+1, Robert Sandell wrote:
Yes you should be able to do that, but you need to update the scm section of your pom.

/B

2017-08-23 17:36 GMT+02:00 Ivo Bellin Salarin <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="AbN1AfN9CgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ivo.bell...@...>:
Hi all,

My credentials differ (<a href="http://jenkins-ci.org" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjenkins-ci.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGenjUsDiwms2Z_jlKZoCchxFDydQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fjenkins-ci.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGenjUsDiwms2Z_jlKZoCchxFDydQ&#39;;return true;">jenkins-ci.org, GitHub) and I would like that mvn use the repository remote rather the one specified in the pom. (Since I can push without problems from it, while mvn has several problems)

May I use git over https to perform a new plugin release?

Thanks in advance,
Ivo

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="AbN1AfN9CgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF88Hnp3tjRa73fGdJpmvwr2hOKfro%2BA4mJ%2BqJ-LjYdkDg%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF88Hnp3tjRa73fGdJpmvwr2hOKfro%2BA4mJ%2BqJ-LjYdkDg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF88Hnp3tjRa73fGdJpmvwr2hOKfro%2BA4mJ%2BqJ-LjYdkDg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-dev/CAPc4eF88Hnp3tjRa73fGdJpmvwr2hOKfro%2BA4mJ%2BqJ-LjYdkDg%40mail.gmail.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.



--
Robert Sandell
Software Engineer
CloudBees Inc.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/9f112ad8-3043-411d-966e-bf15f0a83e24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.