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

15 views
Skip to first unread message

Ivo Bellin Salarin

unread,
Aug 23, 2017, 11:36:32 AM8/23/17
to jenkin...@googlegroups.com
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

Robert Sandell

unread,
Aug 24, 2017, 5:06:33 AM8/24/17
to jenkin...@googlegroups.com
Yes you should be able to do that, but you need to update the scm section of your pom.

/B

--
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 jenkinsci-dev+unsubscribe@googlegroups.com.
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.

James Nord

unread,
Aug 24, 2017, 6:49:48 AM8/24/17
to Jenkins Developers
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 <ivo.bell...@gmail.com>:
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 jenkinsci-de...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages