Actually build server uses regular build script
So it seem to be not trivial task :(

Here is the script downloading latest tar.gz with build number:

#!/bin/bash

ver=5.0.0-M4

BASE_URL=
https://builds.apache.org/view/M-R/view/OpenMeetings/job/openmeetings/lastSuccessfulBuild
rev=`curl -s ${BASE_URL}/api/json |jq -r '.id'`
dest=openmeetings-${ver}.r${rev}
dest_file=apache-${dest}-SNAPSHOT.tar.gz

if [ ! -f ${dest_file} ]; then
        wget
${BASE_URL}/artifact/openmeetings-server/target/apache-openmeetings-${ver}-SNAPSHOT.tar.gz
-O ${dest_file}
fi

if [ -d ${dest} ]; then
        echo "OM ${rev} already exists"
        exit 0;
fi

On Thu, 26 Mar 2020 at 11:07, Carl Brewer <c...@aboc.net.au> wrote:

> On 26/03/2020 2:59 pm, Carl Brewer wrote:
> > On 26/03/2020 2:54 pm, Maxim Solodovnik wrote:
> >> Build #3070 is in progress
> >> You can work-around this issue with command-line installer
> >> Or wait ~1hour
> >
> > Happy to wait & test again
>
> Can you tag the filename of the snapshots with the build number?  If
> it's easy to do?
>
>

-- 
WBR
Maxim aka solomax

Reply via email to