Added in-browser version

This commit is contained in:
Segey Lapin
2019-07-18 07:10:41 +03:00
parent 85016d14e7
commit 6b18adfd0f

11
Jenkinsfile vendored
View File

@@ -79,9 +79,13 @@ node('docker && ubuntu-16.04') {
sh '''#!/bin/sh sh '''#!/bin/sh
set -e set -e
base=$(pwd) base=$(pwd)
mkdir proto1-html
cd proto1 cd proto1
ls -l ls -l
${base}/godot-templates/godot_server.x11.tools.64 --export "HTML5" ${base}/proto1-html5.zip ${base}/godot-templates/godot_server.x11.tools.64 --export "HTML5" ${base}/proto1-html/index.html
cd ..
cd proto1-html
zip -r ${base}/proto1-html5.zip *
cd .. cd ..
ls -l ls -l
''' '''
@@ -94,6 +98,9 @@ node('docker && ubuntu-16.04') {
butler push proto1-html5.zip slapin/ball-kickers:html butler push proto1-html5.zip slapin/ball-kickers:html
H=$? H=$?
butler status slapin/ball-kickers:html butler status slapin/ball-kickers:html
butler push proto1-html5.zip slapin/ball-kickers-html:html
H2=$?
butler status slapin/ball-kickers-html:html
butler push BallKickers-windows.zip slapin/ball-kickers:windows butler push BallKickers-windows.zip slapin/ball-kickers:windows
W=$? W=$?
butler status slapin/ball-kickers:windows butler status slapin/ball-kickers:windows
@@ -101,7 +108,7 @@ node('docker && ubuntu-16.04') {
butler push BallKickers-linux.zip slapin/ball-kickers:linux butler push BallKickers-linux.zip slapin/ball-kickers:linux
L=$? L=$?
butler status slapin/ball-kickers:linux butler status slapin/ball-kickers:linux
if [ $H != 0 -o $W != 0 -o $L != 0 ]; then if [ $H != 0 -o $H2 != 0 -o $W != 0 -o $L != 0 ]; then
exit 1 exit 1
fi fi
''' '''