[sakai-core-team] Automatically creating git tags

Matthew Jones matthew at longsight.com
Thu Feb 26 12:51:42 PST 2015


We talked this morning on the release call about having Jenkins auto create
a tag on every build so it's easier to find out what build is running on
the nightlies and easier to reference a build on a date. Otherwise the
syntax for checking out by date seems semi difficult to remember and not
100% agreed on what the answer is. [1]

So I tried to setup a process (As a Post Action on the trunkbuild) on our
Jenkins to automatically create git tags but Jenkins failed to publish it.
I believe it needs credentials either in the form of private key or
username password. Most likely if we did this we'd have to create a
'generic' account held by the foundation and give it access to that.

There's also an option for "Certificate" (PKCS#12 certificate and password)
but I don't 100% know where to find that?

It feels like there should be some other way to publish but I don't see
that in the options here for this plugin.

Also at the moment this issue is broken in Jenkins (
https://issues.jenkins-ci.org/browse/JENKINS-26520) so there is no way to
reference the timestamp for creating timestamp tags. Like for instance if
we wanted a tag

master/2014-02-26-15-00-00 or something. I'm guessing we'd have to go all
the way out to the minute since we could potentially build multiple times
an hour? In any case that's impossible and it only allows for the build
number (master/116).

Anyway, it seems like a great process but there are a few hurdles at the
moment.

[1] http://blog.endpoint.com/2014/05/git-checkout-at-specific-date.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-core-team/attachments/20150226/fc91314e/attachment.html 


More information about the sakai-core-team mailing list