aboutsummaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
Diffstat (limited to 'jjb')
-rw-r--r--jjb/common/include-agl-kci-publish-build-meta.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/jjb/common/include-agl-kci-publish-build-meta.sh b/jjb/common/include-agl-kci-publish-build-meta.sh
index da36d4c7..c2c1a5c1 100644
--- a/jjb/common/include-agl-kci-publish-build-meta.sh
+++ b/jjb/common/include-agl-kci-publish-build-meta.sh
@@ -6,8 +6,7 @@ echo "\n\n\n"
kci-publish() {
# check GERRIT_PROJECT to find if we build an app or not
- echo $GERRIT_PROJECT |grep -q apps
- if [ $? -eq 0 ];then
+ if echo $GERRIT_PROJECT |grep -q apps ;then
# for app
BUILD_VERSION="AGL-app-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER"
else
@@ -22,7 +21,7 @@ kci-publish() {
echo "DEBUG: arch $TARGETARCH"
echo "DEBUG: branch $GERRIT_BRANCH"
return 0
- ./agl-publish.py --machine ${TARGETMACHINE} \
+ ./utils/agl-publish.py --machine ${TARGETMACHINE} \
--build_version $BUILD_VERSION \
--commit $DIST_BUILD_HASH \
--arch $TARGETARCH \