summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2018-01-22 16:14:05 +0100
committerAleksander Mistewicz <a.mistewicz@samsung.com>2018-06-11 14:45:40 +0200
commit1b63a34fca4ebfa2dbc9e240de9e153aee5fc513 (patch)
tree7b47d7cd29f299ac214d81dbf0510dbe687619fb
parentbff8da840034fc531409bbaa977c3edc6c787747 (diff)
downloadmajor-1b63a34fca4ebfa2dbc9e240de9e153aee5fc513.tar.gz
major-1b63a34fca4ebfa2dbc9e240de9e153aee5fc513.tar.bz2
major-1b63a34fca4ebfa2dbc9e240de9e153aee5fc513.zip
Do not retrigger headless-rpi3
Change-Id: I260150291bc5eab08366930f279b62e13858d8a8
-rwxr-xr-xtsp/jobs/common_prep_flash_conf.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tsp/jobs/common_prep_flash_conf.sh b/tsp/jobs/common_prep_flash_conf.sh
index 41f5088..dc6e8a4 100755
--- a/tsp/jobs/common_prep_flash_conf.sh
+++ b/tsp/jobs/common_prep_flash_conf.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+# Copyright (c) 2016, 2018 Samsung Electronics Co., Ltd All Rights Reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -76,6 +76,11 @@ retrigger() {
# Add job back to the queue
echo "Retrigger... ($1)"
echo "FAILED 1" > sysctl.result
+ if [ "$TARGET" = "headless-rpi3" ]; then
+ # Trigger publish job
+ tspwb -L PUBLISH sh "${TSP_DIR}/jobs/publish.sh" "$BUILD_NR" "$TARGET"
+ exit 1
+ fi
if [ "$FAIL_CNT" -ge 3 ]; then
# Trigger publish job
tspwb -L PUBLISH sh "${TSP_DIR}/jobs/publish.sh" "$BUILD_NR" "$TARGET"