Skip to content

Commit

Permalink
contrib/jenkins.sh: execute this script with -x and -e
Browse files Browse the repository at this point in the history
  -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
  • Loading branch information
axilirator committed Sep 5, 2022
1 parent b3ea021 commit 7ce04a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contrib/jenkins.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#!/bin/sh
#!/bin/sh -xe
# jenkins build helper script for pysim. This is how we build on jenkins.osmocom.org
#
# environment variables:
# * WITH_MANUALS: build manual PDFs if set to "1"
# * PUBLISH: upload manuals after building if set to "1" (ignored without WITH_MANUALS = "1")
#

set -e

if [ ! -d "./pysim-testdata/" ] ; then
echo "###############################################"
echo "Please call from pySim-prog top directory"
Expand Down

0 comments on commit 7ce04a5

Please sign in to comment.