Added cleanup

This commit is contained in:
Segey Lapin
2019-10-17 19:27:22 +03:00
parent 2fa2ad10db
commit 28ff8af8b2

7
Jenkinsfile vendored
View File

@@ -29,6 +29,8 @@ node('docker && ubuntu-16.04') {
} }
sh '''#!/bin/sh sh '''#!/bin/sh
rm -f export-templates rm -f export-templates
rm -Rf godot-templates
rm -f proto2-html5.zip BallKickers-windows.zip BallKickers-linux.zip
tar xf godot-templates.tar.gz tar xf godot-templates.tar.gz
ln -sf godot-templates export-templates ln -sf godot-templates export-templates
mkdir butler mkdir butler
@@ -55,7 +57,9 @@ node('docker && ubuntu-16.04') {
cd proto2 cd proto2
rm -f characters/accessory.json rm -f characters/accessory.json
rm -Rf characters/accessory rm -Rf characters/accessory
rm -Rf .import
../blender-2.80-linux-glibc217-x86_64/blender -b --debug-io -P export.py ../blender-2.80-linux-glibc217-x86_64/blender -b --debug-io -P export.py
rm -Rf exports
''' '''
} }
stage("build-blendmaps") { stage("build-blendmaps") {
@@ -70,6 +74,7 @@ node('docker && ubuntu-16.04') {
sh '''#!/bin/sh sh '''#!/bin/sh
set -e set -e
base=$(pwd) base=$(pwd)
rm -f ${base}/BallKickers-linux.zip
cd proto2 cd proto2
ls -l ls -l
${base}/godot-templates/godot_server.x11.tools.64 \ ${base}/godot-templates/godot_server.x11.tools.64 \
@@ -87,6 +92,7 @@ node('docker && ubuntu-16.04') {
sh '''#!/bin/sh sh '''#!/bin/sh
set -e set -e
base=$(pwd) base=$(pwd)
rm -f ${base}/BallKickers-windows.zip
cd proto2 cd proto2
ls -l ls -l
${base}/godot-templates/godot_server.x11.tools.64 \ ${base}/godot-templates/godot_server.x11.tools.64 \
@@ -104,6 +110,7 @@ node('docker && ubuntu-16.04') {
sh '''#!/bin/sh sh '''#!/bin/sh
set -e set -e
base=$(pwd) base=$(pwd)
rm -f ${base}/proto2-html5.zip
rm -Rf proto2-html rm -Rf proto2-html
mkdir proto2-html mkdir proto2-html
cd proto2 cd proto2