mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-29 06:12:44 +03:00
contrib/jenkins.sh: execute this script with -x and -e
-x Print commands and their arguments as they are executed -e Exit immediately if a command exits with a non-zero status Change-Id: I13af70ef770936bec00b050b6c4f988e53ee2833
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh -xe
|
||||||
# jenkins build helper script for pysim. This is how we build on jenkins.osmocom.org
|
# jenkins build helper script for pysim. This is how we build on jenkins.osmocom.org
|
||||||
#
|
#
|
||||||
# environment variables:
|
# environment variables:
|
||||||
@@ -6,8 +6,6 @@
|
|||||||
# * PUBLISH: upload manuals after building if set to "1" (ignored without WITH_MANUALS = "1")
|
# * PUBLISH: upload manuals after building if set to "1" (ignored without WITH_MANUALS = "1")
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ ! -d "./pysim-testdata/" ] ; then
|
if [ ! -d "./pysim-testdata/" ] ; then
|
||||||
echo "###############################################"
|
echo "###############################################"
|
||||||
echo "Please call from pySim-prog top directory"
|
echo "Please call from pySim-prog top directory"
|
||||||
|
|||||||
Reference in New Issue
Block a user