aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/run_cpta.sh
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-03-26 11:02:54 +0200
committerTibor Frank <tifrank@cisco.com>2018-03-26 11:02:54 +0200
commit3458e725729098a6c10f68ec4a05d7256984bcdc (patch)
tree8ddadaf18216bf781e7c4e5bd908df2948a02e58 /resources/tools/presentation/run_cpta.sh
parentaaa58d348c375f80e65dfdf62a679dd0cbac4411 (diff)
CSIT-919: Jenkins job
Change-Id: I8ed4a8e135ebbebc7799a633872a50293eb410af Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/run_cpta.sh')
-rwxr-xr-xresources/tools/presentation/run_cpta.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/resources/tools/presentation/run_cpta.sh b/resources/tools/presentation/run_cpta.sh
index 081becfcbc..954f17d53c 100755
--- a/resources/tools/presentation/run_cpta.sh
+++ b/resources/tools/presentation/run_cpta.sh
@@ -24,13 +24,11 @@ pip install -r requirements.txt
export PYTHONPATH=`pwd`
-python pal.py \
+STATUS=$(python pal.py \
--specification specification_CPTA.yaml \
--logging INFO \
- --force
+ --force)
RETURN_STATUS=$?
-rm -rf ${DIR[WORKING]}
-
-echo ${RETURN_STATUS}
+echo ${STATUS}
exit ${RETURN_STATUS}