Skip to content
Snippets Groups Projects
Commit 4c24a889 authored by felmer's avatar felmer
Browse files

gradle based tag & build: Copy artifacts to file server.

SVN: 31197
parent 7a5dd718
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,24 @@ usage()
exit 1
}
function move_to_file_server {
echo "Moving new openBIS components to file server"
OPENBIS_PATH=~openbis/fileserver/sprint_builds/openBIS
SPRINT_DIR=$OPENBIS_PATH/$TODAY-$FULL_VER
mkdir -p $SPRINT_DIR
mv *$FULL_VER*.{zip,gz,jar} $SPRINT_DIR/
chmod g+w -R $SPRINT_DIR
}
if [ $# -ne 2 ]
then
usage
fi
TODAY=`date "+%Y-%m-%d"`
FULL_VER=$2
rm -rf tmp
mkdir -p tmp
svn checkout svn+ssh://svncisd.ethz.ch/repos/cisd/openbis_all/tags/$1/$2 tmp;
......@@ -27,3 +40,6 @@ cd tmp/gradle
cd ../..
mv tmp/openbis_standard_technologies/targets/gradle/distributions/openBIS-clients-and-APIs*.zip .
mv tmp/installation/targets/gradle/distributions/openBIS-installation-standard-technologies*.tar.gz .
move_to_file_server
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment