On Apr 22, 2013, at 11:57 AM, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
wrote:
On Mon, Apr 22, 2013 at 11:07 AM, Vincent Massol
<vincent(a)massol.net> wrote:
FTR I've configured the Jenkins build
promotion plugin this weekend on our CI.
What it does now is flag XWiki Enterprise promoted builds with a green star.
An enterprise build is promoted when all the functional tests jobs pass.
The name of this promotion is "Release to QA"
Cool. How do you find the promoted XE artefact? Since XE is build
before running the functional tests it means its zip/war is pushed to
maven like any other snapshot. How do you know which snapshot passes
all the tests?
Well the artifacts are published to our maven repository so it can be found there but we
need to way to know which one it is since it's not very handy.
What we could do is use the Copy Artifact plugin
(
https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin) to copy the
distribution files (the zip and some others if we want) to some location on the jenkins
server.
My idea for the future is to combine this with the Jenkins Release plugin to trigger
automatically a release (to a staging repo) when an XE build is promoted in order to speed
up our release process.
Thanks
-Vincent