summaryrefslogtreecommitdiffstats
path: root/user-templates/relocate2-webstart_next-ssh-on-hudson.sh
blob: accaf738707a5e9c1ea496d6c6525ef66095dc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#! /bin/bash

branch=master
bname=gluegen_263-joal_113-jogl_292-jocl_268
tag=v2.0-dev-master

ssh jogl@jogamp.org "\
    cd /home/jogl ; \
    rm -rf jogamp-scripting ; \
    git clone file:///srv/scm/jogamp-scripting.git jogamp-scripting ; \
    cd jogamp-scripting ; \
    ls -la ; \
    ./jenkins-builds/relocate-webstart-folder.sh \
        $tag \
        /srv/www/jogamp.org/deployment/archive/$branch/$bname-webstart \
        /srv/www/jogamp.org/deployment/webstart-next-new \
        http://jogamp.org/deployment/webstart-next ; \
    mv /srv/www/jogamp.org/deployment/webstart-next /srv/www/jogamp.org/deployment/webstart-next-old ; \
    mv /srv/www/jogamp.org/deployment/webstart-next-new /srv/www/jogamp.org/deployment/webstart-next ; \
    rm -rf /srv/www/jogamp.org/deployment/webstart-next-old ; \
"