Fail in case of errors
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -36,6 +36,7 @@ node('docker && ubuntu-16.04') {
|
|||||||
}
|
}
|
||||||
stage("export-linux") {
|
stage("export-linux") {
|
||||||
sh '''#!/bin/sh
|
sh '''#!/bin/sh
|
||||||
|
set -e
|
||||||
base=$(pwd)
|
base=$(pwd)
|
||||||
cd proto1
|
cd proto1
|
||||||
${base}/godot-templates/godot_server.x11.tools.64 --export "linux" ${base}/proto1-linux
|
${base}/godot-templates/godot_server.x11.tools.64 --export "linux" ${base}/proto1-linux
|
||||||
@@ -45,6 +46,7 @@ node('docker && ubuntu-16.04') {
|
|||||||
}
|
}
|
||||||
stage("export-html5") {
|
stage("export-html5") {
|
||||||
sh '''#!/bin/sh
|
sh '''#!/bin/sh
|
||||||
|
set -e
|
||||||
base=$(pwd)
|
base=$(pwd)
|
||||||
cd proto1
|
cd proto1
|
||||||
${base}/godot-templates/godot_server.x11.tools.64 --export "HTML5" ${base}/proto1-html5
|
${base}/godot-templates/godot_server.x11.tools.64 --export "HTML5" ${base}/proto1-html5
|
||||||
|
|||||||
Reference in New Issue
Block a user