aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-08 10:58:38 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-08 10:58:38 +0200
commit60f9fc3edec5e10a54c2056aba757fcc51ac0210 (patch)
tree3a2880539079bc51d6c0dad1bc03db6e028ded32 /jjb/common
parent28be63f45953355abe1e45f0b26f25e75ac01fe6 (diff)
Fix git checkout and be less verbose
Change-Id: I7d2b374f1ee0fe0d96c984c3e757f2fd49dd6a22 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common')
-rw-r--r--jjb/common/include-agl-run-test-prepare.sh2
-rw-r--r--jjb/common/include-agl-run-test-short-release.sh2
-rw-r--r--jjb/common/include-agl-run-test-short.sh2
-rw-r--r--jjb/common/include-apps-build-app.sh5
-rw-r--r--jjb/common/include-apps-fetch-install-sdk.sh10
5 files changed, 11 insertions, 10 deletions
diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh
index bf765c7b..36f5a7a4 100644
--- a/jjb/common/include-agl-run-test-prepare.sh
+++ b/jjb/common/include-agl-run-test-prepare.sh
@@ -4,7 +4,7 @@
################################################################################
## Run SHORT CI test
################################################################################
-set -x
+#set -x
#ls -alh
#pwd
diff --git a/jjb/common/include-agl-run-test-short-release.sh b/jjb/common/include-agl-run-test-short-release.sh
index 02a7fc18..f09dca8c 100644
--- a/jjb/common/include-agl-run-test-short-release.sh
+++ b/jjb/common/include-agl-run-test-short-release.sh
@@ -6,7 +6,7 @@
################################################################################
-set -x
+#set -x
echo "## ${MACHINE} ##"
cd $REPODIR
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh
index 6897fde5..1ffc6f45 100644
--- a/jjb/common/include-agl-run-test-short.sh
+++ b/jjb/common/include-agl-run-test-short.sh
@@ -6,7 +6,7 @@
################################################################################
-set -x
+#set -x
echo "## ${MACHINE} ##"
cd $REPODIR
diff --git a/jjb/common/include-apps-build-app.sh b/jjb/common/include-apps-build-app.sh
index 01d765d0..8940ac00 100644
--- a/jjb/common/include-apps-build-app.sh
+++ b/jjb/common/include-apps-build-app.sh
@@ -40,7 +40,7 @@ HANDLED="no"
# Projects in apps/*
###################
-if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "^apps/"); then
+if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "apps/"); then
MYPROJECT=`echo $TARGETPROJECT | sed -e "s#apps/##g"`
@@ -50,7 +50,8 @@ if [[ ! x"yes" = x"$HANDLED" ]] && $(echo "$TARGETPROJECT" | grep -q "^apps/");
git clone https://${GERRIT_HOST}/gerrit/${GERRIT_PROJECT}.git
pushd ${MYPROJECT}
git log -1
- git reset --hard ${GERRIT_REFSPEC}
+ git fetch ${TARGET_REFSPEC}
+ git reset --hard FETCH_HEAD
git log -1
if test -f Makefile ; then
make
diff --git a/jjb/common/include-apps-fetch-install-sdk.sh b/jjb/common/include-apps-fetch-install-sdk.sh
index d107f9ea..ad220501 100644
--- a/jjb/common/include-apps-fetch-install-sdk.sh
+++ b/jjb/common/include-apps-fetch-install-sdk.sh
@@ -41,10 +41,10 @@ fi
source "${TARGETSDKENVSCRIPT}"
+echo "###############################################################################"
ls -alh ~/
-
-ls
-
+echo "###############################################################################"
ls -alh
-
-set \ No newline at end of file
+echo "###############################################################################"
+set
+echo "###############################################################################"