jenkins.ci library releases.

49 views
Skip to first unread message

James Nord

unread,
Oct 6, 2015, 5:54:46 AM10/6/15
to Jenkins Developers
Hi all

I've reconfigured the template for the Jenkins™ libraries on https://jenkins.ci.cloudbees.com so that the m2release plugin is enabled so you can perform releases directly from Jenkins™ (just as you can with the plugins).

Apologies for those that haven't got a login - (which is probably most people here) but I felt I should make this public in case something is accidentally broken and people have no idea why.

/James

Jesse Glick

unread,
Oct 7, 2015, 12:50:45 PM10/7/15
to Jenkins Dev
On Tue, Oct 6, 2015 at 5:54 AM, James Nord <jn...@cloudbees.com> wrote:
> you can perform releases directly from Jenkins™ (just as you can with the plugins).

Can we have the committer or author set to the logged-in user?
Otherwise we just have no idea who performed a release.

https://github.com/jenkinsci/maven-plugin/commit/1b292a33289c946969975416daa164489da9678f

Oleg Nenashev

unread,
Oct 7, 2015, 5:31:58 PM10/7/15
to Jenkins Developers
It could be done, but it requires a reorganization of projects to folders.
It's a single-time manual effort, so we could do it IMO.

For plugins the same thing cannot be done without some DevOps stuff. We have no database of plugin owners to drive it automagically.

среда, 7 октября 2015 г., 19:50:45 UTC+3 пользователь Jesse Glick написал:

James Nord

unread,
Oct 8, 2015, 6:38:18 AM10/8/15
to Jenkins Developers
Actually this is trivial to do with no restructuring.

Just need to change the <developerConnection> in the pom.xml from g...@github.com to https://github.com in the libraries.

Whilst I thought about doing that I didn't want to incur the wrath of the community when they could no longer easily release from their machine (if they chose to)...

/James

James Nord

unread,
Oct 8, 2015, 6:44:00 AM10/8/15
to Jenkins Developers
Actually scratch that the push user is not the commiter or author.

We may be able to provide something quick in the commit message by making the Jenkins username part of the message?

"[maven-release-plugin] (jnord) some-funky-library-1.2.3-4"  - but this would be the user on the CI system not the user on github.

Would that work for you jesse?

/James

Jesse Glick

unread,
Oct 8, 2015, 7:57:43 AM10/8/15
to Jenkins Dev
On Thu, Oct 8, 2015 at 6:44 AM, James Nord <jn...@cloudbees.com> wrote:
> "[maven-release-plugin] (jnord) some-funky-library-1.2.3-4" - but this
> would be the user on the CI system not the user on github.
>
> Would that work for you jesse?

Sure, better than nothing.

James Nord

unread,
Oct 9, 2015, 4:04:06 AM10/9/15
to Jenkins Developers


On Thursday, October 8, 2015 at 1:57:43 PM UTC+2, Jesse Glick wrote:
On Thu, Oct 8, 2015 at 6:44 AM, James Nord  wrote:
> "[maven-release-plugin] (jnord) some-funky-library-1.2.3-4"  - but this
> would be the user on the CI system not the user on github.
>
> Would that work for you jesse?

Sure, better than nothing.

So I think I have made the change to the template.  Obviously it will have to wait for the next release to test :-) 
Reply all
Reply to author
Forward
0 new messages