From 6b18adfd0f3702a41146907b2593b4086de893f8 Mon Sep 17 00:00:00 2001 From: Segey Lapin Date: Thu, 18 Jul 2019 07:10:41 +0300 Subject: [PATCH] Added in-browser version --- Jenkinsfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cc3567f..6685946 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,9 +79,13 @@ node('docker && ubuntu-16.04') { sh '''#!/bin/sh set -e base=$(pwd) + mkdir proto1-html cd proto1 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 .. ls -l ''' @@ -94,6 +98,9 @@ node('docker && ubuntu-16.04') { butler push proto1-html5.zip slapin/ball-kickers:html H=$? 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 W=$? butler status slapin/ball-kickers:windows @@ -101,7 +108,7 @@ node('docker && ubuntu-16.04') { butler push BallKickers-linux.zip slapin/ball-kickers:linux L=$? 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 fi '''